multi-model-server icon indicating copy to clipboard operation
multi-model-server copied to clipboard

Netty does not allow \r \n in the reasonPhrase and MMS fails to handle responses which have \r and \n in the reasonPhrase

Open ashishgupta023 opened this issue 5 years ago • 0 comments

Netty does not allow \r \n in the reasonPhrase and MMS fails to handle responses which have \r and \n and responds with java.lang.IllegalArgumentException: reasonPhrase contains one of the following prohibited characters: \r\n:

https://github.com/netty/netty/blob/0cde4d9cb4d19ddc0ecafc5be7c5f7c781a1f6e9/codec-http/src/main/java/io/netty/handler/codec/http/HttpResponseStatus.java#L552

ashishgupta023 avatar Jul 31 '20 01:07 ashishgupta023