tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 46051] Servlet response writer does not respect line.separator system property
Date Tue, 21 Oct 2008 19:50:48 GMT

--- Comment #2 from Chris Hubick <>  2008-10-21 12:50:48 PST ---
I see where you are coming from, and somewhat agree - though I think there is
value in strict adherance to the API.  The decision is yours - I just wanted to
make sure you were aware of it.

Luckily, I had the code to this servlet and patched it to work around this.

Just to note, we were actually bit by this bug when we upgraded from Tomcat 4
on our CAS ( ) central authentication
server.  The Yale CAS server code writes out XML using the response Writer, and
after the upgrade this output then contained the additional '\r'.  Of course,
this technically shouldn't matter to the XML either, except that the old
(2.0.10) mod_cas C client we are using on some old servers apparently doesn't
use a real XML parser and breaks reading these line endings in.  We can't
upgrade the client in our legacy environment because their newer mod_auth_cas
client requires a newer Apache.  So, yeah, I patched the server to work as
before, and we are working to upgrade all our old client servers, but as with
any enterprise, that takes time.

Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message