Home > Back-end >  Java. Lang. IllegalArgumentException: Control character in value or attribu cookies
Java. Lang. IllegalArgumentException: Control character in value or attribu cookies

Time:10-03

Problem description: due to business needs, the server time is changed to August, a part of the user login system,
The background error:
Severe: Error processing request
Java. Lang. IllegalArgumentException: Control character in the cookie value or attribute.

After screening found
1, user_name is Chinese can't log in, can log in English,
2, didn't change the server time before, although at this wrong, all users can login
3 to change the server time to August, some users can't log on

Tomcat online search, I would say do not match the time zone and the server, some say it's cookie code has a problem,
My question is
1, how to set up tomcat time zone?
2, how to solve the problem of cookie code?
Internet have a lot of posts about these questions, but I tried a lot of can't, give a great god to a feasible scheme

CodePudding user response:

What the cookie is saved information in Chinese

CodePudding user response:

As to the problem of time zone, tomcat which under the bin directory of the configuration of the basic can go to catalina. Sh Settings

CodePudding user response:

Access to chrome://Settings/content/cookies, then look at all the cookies and web data, and then clear out all the cookies, this time to restart the project, look to whether can return to normal
  • Related