I have some image files with foreign characters in their dir and file name, like Á
or ü
, and apache/mod_security is answering with Error 406 - Not acceptable
when pointing a browser to those files.
Is there a way to let the server show those files, without making the site insecure?
edit: after checking error_log and modsec2.user.conf, the rule being triggered is
SecRule REQUEST_FILENAME|ARGS|ARGS_NAMES|REQUEST_HEADERS|!REQUEST_HEADERS:Referer
"@validateUtf8Encoding"
"deny,log,auditlog,msg:'UTF8 Encoding Abuse Attack Attempt',id:'1234123439',severity:'4'
Thanks