mirror of
https://github.com/certbot/certbot.git
synced 2026-06-04 06:15:36 -04:00
Merge pull request #1990 from domcleal/1960-augeas-rewrite-quote
Add passing test for quote inside RewriteRule
This commit is contained in:
commit
14bcc8be6b
1 changed files with 7 additions and 0 deletions
7
tests/apache-conf-files/passing/rewrite-quote-1960.conf
Normal file
7
tests/apache-conf-files/passing/rewrite-quote-1960.conf
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
<IfModule mod_rewrite.c>
|
||||
RewriteEngine On
|
||||
RewriteCond %{REQUEST_URI} ^.*(,|;|:|<|>|">|"<|/|\\\.\.\\).* [NC,OR]
|
||||
RewriteCond %{REQUEST_URI} ^.*(\=|\@|\[|\]|\^|\`|\{|\}|\~).* [NC,OR]
|
||||
RewriteCond %{REQUEST_URI} ^.*(\'|%0A|%0D|%27|%3C|%3E|%00).* [NC]
|
||||
RewriteRule ^(.*)$ - [F,L]
|
||||
</IfModule>
|
||||
Loading…
Reference in a new issue