Index: tests/test_parser.py |
=================================================================== |
--- a/tests/test_parser.py |
+++ b/tests/test_parser.py |
@@ -90,6 +90,14 @@ |
('csp', 'c s p'), |
], |
}, |
+ '||content.server.com/files/*.php$rewrite=$1': { |
+ 'selector': {'type': ST.URL_PATTERN, |
+ 'value': '||content.server.com/files/*.php'}, |
+ 'action': FA.BLOCK, |
+ 'options': [ |
+ ('rewrite', '$1'), |
+ ], |
+ }, |
# Element hiding filters and exceptions. |
'##ddd': { |
'selector': {'type': ST.CSS, 'value': 'ddd'}, |