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

xiaoxiao2021-02-27  199

Cookie的内容中不能包含空格,方括号,圆括号,等于号(=),逗号,双引号,斜杠,问号,@符号,冒号,分号。

以上错误就是因为cookie中使用了逗号,所以出现错误。更改为别的合法字符就可以了。

转载请注明原文地址: https://www.6miu.com/read-9843.html

最新回复(0)