GET requests with empty variables causes 403 errors
-
I noticed that if I used the search field without entering any keywords, I got a 403 error.
The search form resulted in a GET request, but with an empty query value. For example:
http://example.org/?s=
or
http://example.org/?s=test&page=
It appears that the generated htaccess rule is causing the issue:
RewriteCond %{QUERY_STRING} ^.*(\[|\]|\(|\)|<|>|ê|"|;|\?|\*|=$).* [NC,OR]
Is this unintentional or by design?
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘GET requests with empty variables causes 403 errors’ is closed to new replies.