tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Thomas <ma...@apache.org>
Subject Re: Issue with static file in Tomcat 8.5.17
Date Mon, 10 Jul 2017 20:31:14 GMT
On 10/07/17 20:59, Mark Thomas wrote:
> On 08/07/17 20:06, Mark Thomas wrote:
>> On 07/07/17 23:05, George Stanchev wrote:
> 
> <snip/>
> 
>>> Since you cannot reproduce it, perhaps I can package up the tomcat + the
> test app in a zip and upload it somewhere...
>>
>> That would be helpful. I've tested this in multiple environments and I
>> can't reproduce it.
> 
> Many thanks to George for putting together the test case. I have now
> been able to reproduce this.
> 
> The problem is related to the new code that handles the case when a file
> is stored in one encoding but served in another. Since changing
> encodings can change the value and number of bytes served (for example
> serving £ in UTF-8 requires two bytes but only one in ISO-8859-1). This
> code did not handle requests that use accept-ranges correctly.

While the above is true, the actual problem looking more closely is that
the content length can change when conversion is used.

Mark

> 
> I am going to cancel the current 8.5.x and 9.0.x release votes, fix the
> bug and re-roll the releases.
> 
> Mark
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 


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


Mime
View raw message