2020-05-20 09:11:21.484 ERROR 119259 --- [XNIO-1 task-58] io.undertow.request : UT005023: Exception handling request to /favicon.ico
java.lang.IllegalArgumentException: UT000173: An invalid control character [179] was present in the cookie value or attribute
at io.undertow.util.LegacyCookieSupport.isHttpSeparator(LegacyCookieSupport.java:149)
2020-05-20 09:11:21.489 ERROR 119259 --- [XNIO-1 task-58] io.undertow.request : UT005022: Exception generating error page /error
java.lang.RuntimeException: java.lang.IllegalArgumentException: UT000173: An invalid control
2020-05-20 09:11:21.489 ERROR 119259 --- [XNIO-1 task-58] io.undertow.request : UT005071: Undertow request failed HttpServerExchange{ GET /error}
java.lang.IllegalArgumentException: UT000173: An invalid control character [179] was present in the cookie value or attribute
at io.undertow.util.LegacyCookieSupport.isHttpSeparator(LegacyCookieSupport.java:149)
当然,删掉以后,要确保代码中没有 cookie 在存放非法字符
cookie 非法字符可以搜索一下