You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2004/02/25 16:18:59 UTC

DO NOT REPLY [Bug 27224] New: - Error If i get the word "pièces" in a cookie value

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=27224>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=27224

Error If i get the word "pièces" in a cookie value

           Summary: Error If i get the word "pièces" in a cookie value
           Product: Tomcat 5
           Version: Unknown
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Servlet & JSP API
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: n.bihan@itnsa.com


Hello,

If i get the word "pièces" in a cookie value Tomcat send the error :

GRAVE: Bad Cookie Name: pièces /Value: anquantes ou non conformes lors de l
enregistrement d un contrat PI
java.lang.IllegalArgumentException: Le nom de cookie "pièces" est un "token" réservé
        at javax.servlet.http.Cookie.<init>(Cookie.java:185)
        at
org.apache.coyote.tomcat5.CoyoteAdapter.parseCookies(CoyoteAdapter.java:406)
        at
org.apache.coyote.tomcat5.CoyoteAdapter.postParseRequest(CoyoteAdapter.java:314)
        at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:203)
        at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:805)
        at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11
protocol.java:696)
        at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:605)
        at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:677)
        at java.lang.Thread.run(Thread.java:534)

I checked my cookie and his name is not "pièces" but "ModelKeys"...

I changed the word "pièces" for "pieces" and I get no more error. But I need my
"pièces"...

Thx

Nicolas

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org