Shibboleth, Tomcat, AJP and UTF-8 conversion
Cantor, Scott
cantor.2 at osu.edu
Thu Oct 20 10:53:46 EDT 2016
> Those are for data that's part of the URL, no? As such those should
> have nothing to do with request.getAttribute() calls to data provided
> outside of query parameters?
In that case, my mistake, I thought people used that because of the attribute data, in part at least.
Doesn't sound like there's really any option but the trick posted.
> Also, isolatin1 is only the "DEFAULT_CHARSET", i.e., when none is
> set. No idea when 'if (charset == null)' happens, but are you sure
> you've provided all means (HTTP, HTML) to the User Agent to make sure
> everything is UTF-8?
Headers are sort of weird anyway, I think they're actually 7-bit ASCII only, but that's going from memory. It's certainly the "standard practice" to avoid problems. It may be that's why Tomcat makes that encoding assumption. And server variables (like in this case) are really internal to the web server, so there's nothing in HTTP that really applies to them and no real specification governing it.
-- Scott
More information about the users
mailing list