为了账号安全,请及时绑定邮箱和手机立即绑定

details.js中cookie的字符问题??

点开商品后报错

 Servlet.service() for servlet [jsp] in context with path [/ServletCartDemo] threw exception [java.lang.IllegalArgumentException: An invalid character [44] was present in the Cookie value] with root cause

java.lang.IllegalArgumentException: An invalid character [44] was present in the Cookie value

然后上网查是说cookie内容中不能包含逗号“,”,http://img1.sycdn.imooc.com//5e6f67a30001472a05280080.jpg

我就将逗号“,”改成了“#”,但是还是会报错http://img1.sycdn.imooc.com//5e6f68020001354907390083.jpg

请问怎么解决?


正在回答

1 回答

举报

0/150
提交
取消

details.js中cookie的字符问题??

我要回答 关注问题
意见反馈 帮助中心 APP下载
官方微信