com web/windows: Activate protection for buggy requests: docroot/iirf.ini
| From: | Anatol Belski | Date: | Fri, 23 Feb 2018 10:18:09 +0000 |
| Subject: | com web/windows: Activate protection for buggy requests: docroot/iirf.ini | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-26769@lists.php.net to get a copy of this message | ||
Commit: 1bb6fe963f447b8d3e49f0aa95044fd52c935d94
Author: Anatol Belski <ab@php.net> Fri, 23 Feb 2018 11:18:09 +0100
Parents: 8b80f1abf2812bf9292630b297b70643ab1fea0f
Branches: master
Link: http://git.php.net/?p=web/windows.git;a=commitdiff;h=1bb6fe963f447b8d3e49f0aa95044fd52c935d94
Log:
Activate protection for buggy requests
Changed paths:
M docroot/iirf.ini
Diff:
diff --git a/docroot/iirf.ini b/docroot/iirf.ini
index dbed7fd..e585ecc 100644
--- a/docroot/iirf.ini
+++ b/docroot/iirf.ini
@@ -1,6 +1,6 @@
-#RewriteCond %{HTTP_USER_AGENT} ^$
-#RewriteRule ^/downloads/.*$ /user-agent.txt [L,NC]
+RewriteCond %{HTTP_USER_AGENT} ^$
+RewriteRule ^/downloads/.*$ /user-agent.txt [L,NC]
RewriteRule ^/download/?$ /listing.php?mode=release [NC,L]
RewriteRule ^/qa/?$ /listing.php?mode=qa [NC,L]