Integrated: 8272702: Resolving URI relative path with no / may lead to incorrect toString

KIRIYAMA Takuya duke at openjdk.org
Mon Aug 22 09:25:54 UTC 2022


On Thu, 26 May 2022 09:18:56 GMT, KIRIYAMA Takuya <duke at openjdk.org> wrote:

> Consider an authority component without trailing "/" as a base URI. When resolving a relative path against this base URI, the resulting URI is a concatenated URI without "/".
> This behaviour should be fixed, which is rationalized by rfc3986#section-5.2.3.
> Could you review this fix?

This pull request has now been integrated.

Changeset: 79597f1e
Author:    KIRIYAMA Takuya <kiriyama.takuya at fujitsu.com>
Committer: Daniel Fuchs <dfuchs at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/79597f1ea6844f374beeeba219719cd9d5fe7d03
Stats:     32 lines in 2 files changed: 23 ins; 0 del; 9 mod

8272702: Resolving URI relative path with no / may lead to incorrect toString

Reviewed-by: dfuchs, michaelm

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

PR: https://git.openjdk.org/jdk/pull/8899


More information about the net-dev mailing list