Today a very interesting issue raised…
Scenario:
- Copy text from Word document
- Paste text to input text field in browser
- Submit the form
- Response from apache is the following:
Bad Request
Your browser sent a request that this server could not understand.
Reason:
UTF8 text from word document conflicts with ModSecurity2′s rule – 950801
Solution:
Add the following line into proper place in httpd.conf
SecRuleRemoveById 950801
Reference:
http://en.wikipedia.org/wiki/Percent_encoding#Binary_data
http://osdir.com/ml/apache.mod-security.user/2007-05/msg00179.html
