Integrated: 8286594: (zipfs) Mention paths with dot elements in ZipException and cleanups

Christoph Langer clanger at openjdk.java.net
Sat May 14 11:00:54 UTC 2022


On Wed, 11 May 2022 15:32:38 GMT, Christoph Langer <clanger at openjdk.org> wrote:

> This augments the ZipException upon rejecting a Zip File containing entry names with "." or ".." elements.
> 
> It furthermore tries to clean up & compact the logic for detecting "." and ".." and it adds a method IndexNode::nameAsString to return the node name as a String.

This pull request has now been integrated.

Changeset: 80cf9f34
Author:    Christoph Langer <clanger at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/80cf9f3464c599fb7860432bf4ed506a3b298d8e
Stats:     73 lines in 1 file changed: 31 ins; 38 del; 4 mod

8286594: (zipfs) Mention paths with dot elements in ZipException and cleanups

Reviewed-by: lancea

-------------

PR: https://git.openjdk.java.net/jdk/pull/8655


More information about the nio-dev mailing list