-
Enhancement
-
Resolution: Done
-
Major
-
7.3.0.GA
-
False
-
False
-
-
-
-
-
-
Undefined
-
ServletPrintWriter.println() is using the LF(\n) as the line separator.
io.undertow.servlet.spec.ServletPrintWriter
public void println() { print('\n'); }
I think it is better to use the system property line.separator as well as the PrintWriter class which is extended class.
https://docs.oracle.com/javase/8/docs/api/java/io/PrintWriter.html#println--
public void println()
Terminates the current line by writing the line separator string. The line separator string is defined by the system property line.separator, and is not necessarily a single newline character ('\n').
- is cloned by
-
UNDERTOW-1792 ServletPrintWriter.println uses LF instead of CRLF
- Resolved
- is incorporated by
-
JBEAP-20288 [GSS] (7.3.z) Upgrade undertow from 2.0.32.SP1-redhat to 2.0.33.SP2-redhat
- Closed