commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: svn commit: r1294460 - in /commons/proper/compress/trunk/src: changes/ main/java/org/apache/commons/compress/archivers/zip/ test/java/org/apache/commons/compress/archivers/zip/ test/resources/
Date Tue, 28 Feb 2012 14:00:02 GMT
On 2012-02-28, sebb wrote:

> On 28 February 2012 05:00,  <bodewig@apache.org> wrote:
>>     protected void setName(String name) {
>>+         if (name != null && getPlatform() == PLATFORM_FAT
>>+             && name.indexOf("/") == -1) {
>>+             name = name.replace('\\', '/');
>>+         }
>>         this.name = name;
>>     }

> The original problem is with unicode extra fields only.

The InfoZIP workaround replicated here is not conditional, it seems
there are other broken ZIPs that use backslashes in plain names as well.

Stefan

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


Mime
View raw message