The newline (line feed code) behavior of ServletPrintWriter has been changed since JBoss EAP 7.3.5
Issue
- The newline (line feed code) behavior of ServletPrintWriter has been changed since JBoss EAP 7.3.5. It was LF (
\n) before JBoss EAP 7.3.4, but it's CRLF (\r\n) since EAP 7.3.5+. - ServletPrintWriter's line feed code is different between JBoss EAP 6 and JBoss EAP 7.
- In JBoss EAP 6.x, it's CRLF (
\r\n) - In JBoss EAP 7.x (before 7.3.5), it's LF (
\n)
- In JBoss EAP 6.x, it's CRLF (
Environment
- Red Hat JBoss Enterprise Application Platform (EAP) 7.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.