-
Enhancement
-
Resolution: Done
-
Major
-
2.0.31.Final
-
None
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').
- clones
-
JBEAP-20289 [GSS](7.3.z) UNDERTOW-1792 - ServletPrintWriter.println should use CRLF
- Closed
- is incorporated by
-
WFCORE-5173 Upgrade Undertow to 2.2.3.Final
- Closed