Commit Graph

26 Commits (master)

Author SHA1 Message Date
Zaytsev Dmitriy e9008dcbd1 removed useless import 2023-01-06 02:27:47 +03:00
Andrew Krasichkov c0dd214e61 Try to deal with non latin encoding 2018-09-28 11:00:13 +03:00
Andrew Krasichkov 84f79a3e04 Try to parse inline comment in blocks 2018-09-28 11:00:02 +03:00
Andrey Tikhonov f5a54ad161 Added tests for GeoBlock 2018-04-17 16:45:57 +03:00
Andrey Tikhonov 82508941bd Added test for MapBlock 2018-04-17 16:45:57 +03:00
Andrew Krasichkov 2c44989f4a Exclude CR from HTTP Request splitting 2018-03-02 15:15:30 +03:00
Andrew Krasichkov ea7d771ab6 [alias_traversal] Minor improvements + respects path in the alias directive:
- alias /foo/bar/ -> HIGH severity
  - alias /foo/bar -> MEDIUM severity
2017-11-10 12:22:39 +03:00
Andrew Krasichkov d00a58e467 [alias_traversal] Added tests 2017-10-10 15:02:09 +03:00
Andrew Krasichkov ffbba62b41 More test cases for if parsing 2017-07-06 19:48:29 +03:00
Andrew Krasichkov e477e02350 Support multiple config files (#47) 2017-05-19 19:31:20 +03:00
Andrew Krasichkov cb4dbc875a Merge branch 'master' into nonstrict-encoding 2017-05-16 23:03:05 +03:00
Andrew Krasichkov 39fa26c7fe Added basic Python 2.6 support (#43) 2017-05-16 23:02:10 +03:00
Andrew Krasichkov cea880bc40 Try to autodetect encoding for bynary string while parsing.
Deal with UTF-8 BOM
2017-05-14 16:05:17 +03:00
Andrew Krasichkov c5df3f073e Improved regex for "if" directive condition capturing 2017-05-14 14:41:21 +03:00
Andrew Krasichkov 7d8fb8845f Allowed more characters for map/upstream/etc directives 2017-05-14 14:36:53 +03:00
Andrew Krasichkov 3c1437c816 Changed file reading logic. Parsers and auditor don't read files by itself, instead of this expect file descriptor or file content. 2017-05-13 14:56:53 +03:00
Andrew Krasichkov 26b2ead72c Added new test cases for "if" directive parsing 2017-05-13 13:52:17 +03:00
Andrew Krasichkov 5dfcd5e68b Added tests for comment parsing 2017-05-02 12:05:32 +03:00
Andrew Krasichkov 5debeb9fa9 [tests] test nested block in add_header_redefinition plugin (#10) 2017-04-11 18:18:51 +03:00
Andrew Krasichkov 82a49f4f65 TravisCI (#9)
* Added travis configuration
* Removed unused tests
2017-04-08 09:12:23 +03:00
Andrew Krasichkov e0739aac9d [origins] Added https_only tests 2017-04-04 00:12:22 +03:00
Andrew Krasichkov d66c5e1f5f Merge pull request #3 from yandex/tests/Plugin-options
Tests/plugin options
2017-04-04 00:09:57 +03:00
Andrew Krasichkov bdd53ac972 [origins] Deny evil.com domain, must resolve issue #1 2017-04-04 00:07:48 +03:00
Andrew Krasichkov 2a93331db2 Added valid domains for origin tests 2017-04-03 23:30:18 +03:00
Andrew Krasichkov a0a01d6848 [tests] Allow to specify plugin options 2017-04-03 23:29:59 +03:00
Andrew Krasichkov 2ff6ac1f8b Initial commit 2017-03-31 01:12:44 +03:00