java.lang.IllegalArgumentException:Cookie值中存在无效字符[34]

时间:2019-01-08 13:49:17

标签: java grails

尝试将grails从2.x升级到3.x,同时登录时出现错误 java.lang.IllegalArgumentException:Cookie值中存在无效字符[34]         在org.apache.tomcat.util.http.Rfc6265CookieProcessor.validateCookieValue(Rfc6265CookieProcessor.java:182)         在org.apache.tomcat.util.http.Rfc6265CookieProcessor.generateHeader(Rfc6265CookieProcessor.java:115)         在org.apache.catalina.connector.Response.generateCookieString(Response.java:1019)         在org.apache.catalina.connector.Response.addCookie(Response.java:967)         在org.apache.catalina.connector.ResponseFacade.addCookie(ResponseFacade.java:386)

  • 经过一番研究,我得到了一些答案,可以使用LegacyCookieProcessor代替用于tomcat的Rfc6265CookieProcessor

如何在grails 3.x中更改此配置

0 个答案:

没有答案