tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Thomas <ma...@apache.org>
Subject Re: [Bug 62912] Tomcat adds a space character in the Content-Type header if this one has a ; character right after
Date Wed, 23 Jan 2019 21:56:32 GMT
On 23/01/2019 21:55, VP Brand wrote:

Sorry. No idea why my mail client picked that senders address. I must
have hit the wrong button.

Mark


> On 23/01/2019 21:48, bugzilla@apache.org wrote:
>> https://bz.apache.org/bugzilla/show_bug.cgi?id=62912
>>
>> --- Comment #14 from Mark Thomas <markt@apache.org> ---
>> Created attachment 36389
>>   --> https://bz.apache.org/bugzilla/attachment.cgi?id=36389&action=edit
>> Tomcat 9 patch to retain app provided content-type
>>
>> The application provided content-type is only retained if no charset is
>> present.
>>
> 
> Thoughts on applying this patch to Tomcat 9?
> 
> Pros: It allows apps to work with both user agents that require spaces
> and user agents that require no spaces
> 
> Cons: The switch to passing through the app provided value may break
> some user agents and an app change would be required to fix it.
> 
> The risk looks to be very low but so is the scale of the problem this
> fixes. One bug report in a little over 8 years suggests this is an issue
> for a small minority of users.
> 
> If anything, I am leaning towards applying the patch. Thoughts?
> 
> Mark
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: dev-help@tomcat.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message