Open ashishgupta023 opened 4 years ago
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
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