RFR: 8272702: Resolving URI relative path with no / may lead to incorrect toString [v2]

KIRIYAMA Takuya duke at openjdk.java.net
Thu Jun 9 06:35:23 UTC 2022


> 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?

KIRIYAMA Takuya has updated the pull request incrementally with one additional commit since the last revision:

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

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/8899/files
  - new: https://git.openjdk.java.net/jdk/pull/8899/files/4bed962e..4d191430

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=8899&range=01
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=8899&range=00-01

  Stats: 6 lines in 2 files changed: 5 ins; 0 del; 1 mod
  Patch: https://git.openjdk.java.net/jdk/pull/8899.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/8899/head:pull/8899

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


More information about the net-dev mailing list