I'm opening an issue as requested by Mark Thomas. There's already been some discussion about the problem and possible solutions on the mailing list: http://www.mail-archive.com/dev@tomcat.apache.org/msg114474.html.
This is now customizable via a system property. Fixed in: - trunk for 9.0.0.M18 onwards - 8.5.x for 8.5.12 onwards - 8.0.x for 8.0.42 onwards