HTTP 403 Error on Requests Using Apostrophe in Apache HTTPD
Issue
- Getting HTTP 403 error when submitting a request with an apostrophe character.
-
Relevant log without apostrophe:
10.1.232.7 - - [07/Aug/2012:13:25:50 -0500] "POST /some_url/Text HTTP/1.1" 200 120 "-" "Mozilla/5.0 (Windows NT 5.1; rv:14.0) Gecko/20100101 Firefox/14.0.1" 743827 -
Relevant log with apostrophe:
10.1.232.7 - - [07/Aug/2012:13:52:21 -0500] "POST /some_url/%27Text HTTP/1.1" 403 257 "-" "Mozilla/5.0 (Windows NT 5.1; rv:14.0) Gecko/20100101 Firefox/14.0.1" 670
Environment
- Red Hat Enterprise Linux (RHEL)
- Red Hat JBoss Core Services (JBCS)
- Apache HTTP Server (
httpd)mod_security
- Siteminder WebAgent
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.