tomcat cookie domain validation

前端 未结 3 1003
野趣味
野趣味 2021-02-07 11:49

I\'m using tomcat 8.0.21 with the new Rfc6265 cookie processor. If there are cookies starting with a dot I\'m getting the following error:

java.lang.IllegalArgum         


        
3条回答
  •  死守一世寂寞
    2021-02-07 12:30

    You can revert Tomcat's behaviour by defining the legacy cookie processor in your context.xml file.

    See Apache Tomcat 8 Configuration Reference: The Cookie Processor Component

提交回复
热议问题