问题描述:在将Tomcat 7升级到8.x及更高版本之后,An invalid character [34] was present in the Cookie value
解决方式:
修改tomcat下配置文件context.xml
,指定CookieProcessor
为 org.apache.tomcat.util.http.LegacyCookieProcessor
,具体配置如下:
<Context>
<CookieProcessor className="org.apache.tomcat.util.http.LegacyCookieProcessor" />
</Context>
详细见原文地址:https://blog.csdn.net/weixin_44624841/article/details/107673174