在tomcat8.5及以上设置cookie domain的时报错:
原因是tomcat从8.5开始,domain规则规定如下:
1、必须是1-9、a-z、A-Z、. 、- (注意是-不是_)这几个字符组成
2、必须是数字或字母开头
3、必须是数字或字母结尾
相关文章
- 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."
- org.hibernate.AnnotationException: No identifier specified for entity: cn.itcast.domain.Counter
- 使用QXlsx时遇到Invalid address specified to RtlValidateHeap错误
- tomcat6.0.35配置SSL报错No Certificate file specified or invalid file format
- linux启动tomcat报错Invalid user name 'tomcat' specified
- tomcat配置https启动出现"No Certificate file specified or invalid file format"异常