Non-control characters in cookie header rejected
by Bojan Nenadovic
We have Spring Boot v2.7.11 application with the undertow web server.
I am having troubles understanding how cookie header is "treated" differently from other headers.
So, if I make curl request with the following header: --header 'Cookie: foo=ä' I am getting following exception:
j.l.IllegalArgumentException: UT000173: An invalid control character [195] was present in the cookie value or attribute
On the other hand, if I pass any other header, i.e.: --header 'foo: ä', no exception however.
What am I missing here?
11 hours, 55 minutes