On 9/3/2014 4:52 AM, Mark Thomas wrote:
On 03/09/2014 12:45, Lulseged Zerfu wrote:
Hi I am getting bad request from tomcat when I send UTF-8 encoded
request to my application. I have configured connector in my
server.xml with URIEncoding=”UTF-8”. I have set charset in the
request to UTF-8. How can I solve 400 Bad request?
Don't send an invalid request.
Unfortunately this is not always within our control. I've been seeing
the following in my log files recently:
java.nio.charset.IllegalCharsetNameException:'UTF-8' caused by different
User Agents like "Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1;
Trident/5.0)" and "Amazon CloudFront"
It happens when I try to get the request headers. I don't have a full
stacktrace or more details because I am not logging that ATM, but I can
add it to the logs if needed.
--
Igal Sapir
Railo Core Developer
http://getRailo.org/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org