在tomcat8.5及以上设置cookie domain的时报错:
原因是tomcat从8.5开始,domain规则规定如下:
1、必须是1-9、a-z、A-Z、. 、- (注意是-不是_)这几个字符组成
2、必须是数字或字母开头
3、必须是数字或字母结尾
相关文章
- 微信js 已经填写JS接口安全域名了,仍然报invalid url domain
- The ORDER BY clause is invalid in views, inline functions, derived tables, subqueries, and common table expressions, unless TOP or FOR XML is also specified.
- webMagic解析淘宝cookie 提示Invalid cookie header
- java.lang.IllegalArgumentException: An invalid character [34] was present in the Cookie value
- ORA-12705: Cannot access NLS data files or invalid environment specified 错误
- An invalid domain was specified for this cookie
- Windows7 The specified domain either does not exist or could not be contacted. - 咣咣咣
- PL/SQL连接错误:ora-12705:cannot access NLS data files or invalid environment specified
- CentOS 7 下sendEmail发邮件失败,提示invalid SSL_version specified at /usr/share/perl5/vendor_perl/IO/Socket/SSL.pm line 415.
- iOS解析JSON字符串报错Error Domain=NSCocoaErrorDomain Code=3840 "Invalid escape sequence around character 586."