的Tomcat 7.0.30 火狐15.0.1 的Eclipse 3.7 & 4.2火狐Tomcat7曲奇拋出:IllegalArgumentException
我最近安裝Tomcat7.0.30從那以後,我有各種與Firefox的問題。 (例如this one)
現在我得到一個java.lang.IllegalArgumentException: Control character in cookie value or attribute.
異常。
我有一個純HTML文件:
<html>
<head><title>Test</title></head>
<body>Test htm</body>
</html>
這是Firebug的報道:
"NetworkError: 500 Internal Server Error - http://localhost:8080/WSTest"
The character encoding of the plain text document was not declared.
The document will render with garbled text in some browser configurations
if the document contains characters from outside the US-ASCII range.
The character encoding of the file needs to be declared in the
transfer protocol or file needs to use a byte order mark as an encoding signature.
讓我困擾的是,有鍍鉻任何沒有問題。該頁面只是打開我希望它...
我試圖谷歌這一點,我發現的唯一建議是,補充一點:
org.apache.tomcat.util.http.ServerCookie.ALLOW_EQUALS_IN_VALUE=true
org.apache.tomcat.util.http.ServerCookie.ALLOW_HTTP_SEPARATORS_IN_V0=true
到catalina.properties文件,但沒有幫助。
我在這裏真的很放鬆。