ASF Bugzilla – Attachment 24249 Details for
Bug 47825
Setting Cookie with UTF-8 encoded value gives ServletException for 5.5.26+
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
trace log
encoding_090911.txt (text/plain), 2.66 KB, created by
Daniel Unfried
on 2009-09-11 07:58:42 UTC
(
hide
)
Description:
trace log
Filename:
MIME Type:
Creator:
Daniel Unfried
Created:
2009-09-11 07:58:42 UTC
Size:
2.66 KB
patch
obsolete
>HTTP Status 500 - > >type Exception report > >message > >description The server encountered an internal error () that prevented it from fulfilling this request. > >exception > >javax.servlet.ServletException: Control character in cookie value, consider BASE64 encoding your value > org.apache.struts.chain.ComposableRequestProcessor.process(ComposableRequestProcessor.java:286) > org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913) > org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449) > javax.servlet.http.HttpServlet.service(HttpServlet.java:690) > javax.servlet.http.HttpServlet.service(HttpServlet.java:803) > de.unet.web.servlet.filter.RequestDumperFilter.doFilter(RequestDumperFilter.java:96) > org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:96) > org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76) > >root cause > >java.lang.IllegalArgumentException: Control character in cookie value, consider BASE64 encoding your value > org.apache.tomcat.util.http.ServerCookie.maybeQuote2(ServerCookie.java:340) > org.apache.tomcat.util.http.ServerCookie.appendCookieValue(ServerCookie.java:253) > org.apache.catalina.connector.Response.addCookie(Response.java:958) > org.apache.catalina.connector.ResponseFacade.addCookie(ResponseFacade.java:341) > de.unet.web.struts.action.EncodingTestAction.execute(EncodingTestAction.java:25) > org.apache.struts.chain.commands.servlet.ExecuteAction.execute(ExecuteAction.java:58) > org.apache.struts.chain.commands.AbstractExecuteAction.execute(AbstractExecuteAction.java:67) > org.apache.struts.chain.commands.ActionCommandBase.execute(ActionCommandBase.java:51) > org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:190) > org.apache.commons.chain.generic.LookupCommand.execute(LookupCommand.java:304) > org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:190) > org.apache.struts.chain.ComposableRequestProcessor.process(ComposableRequestProcessor.java:283) > org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913) > org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449) > javax.servlet.http.HttpServlet.service(HttpServlet.java:690) > javax.servlet.http.HttpServlet.service(HttpServlet.java:803) > de.unet.web.servlet.filter.RequestDumperFilter.doFilter(RequestDumperFilter.java:96) > org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:96) > org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76) > >note The full stack trace of the root cause is available in the Apache Tomcat/5.5.26 logs. >Apache Tomcat/5.5.26
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 47825
:
24248
| 24249