Integrated: 8273961: jdk/nio/zipfs/ZipFSTester.java fails if file path contains '+' character

Remilia Scarlet github.com+22913521+1996scarlet at openjdk.java.net
Wed Sep 22 11:40:59 UTC 2021


On Sat, 18 Sep 2021 09:57:12 GMT, Remilia Scarlet <github.com+22913521+1996scarlet at openjdk.org> wrote:

> Add the pre-processing to replace "+" by "%2b" which avoids `URLDecoder.decoder` changing the path unexpectedly.
> 
> Please review this change. Thanks!

This pull request has now been integrated.

Changeset: 7f78803b
Author:    sunxu <sunxu01 at loongson.cn>
Committer: Lance Andersen <lancea at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/7f78803b0926ea194334ad9b3c9f06cbe17a83dd
Stats:     14 lines in 1 file changed: 9 ins; 0 del; 5 mod

8273961: jdk/nio/zipfs/ZipFSTester.java fails if file path contains '+' character

Reviewed-by: clanger, lancea

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

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


More information about the nio-dev mailing list