java cookie name naming special characters

Through a simple test, it is found that when setting a cookie to name it in java, when there are some special symbols, the naming cannot be passed. The main special characters are as follows:

  1. @
  2. ,
  3. /
  4. 空格
  5. \
  6. <
  7. >
  8. =
  9. :

If there are others, please add them.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325733706&siteId=291194637