RFR: 8272707: Resolving URI relative path with no / may lead to incorrect toString
KIRIYAMA Takuya
duke at openjdk.java.net
Thu May 26 09:25:50 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?
-------------
Commit messages:
- 8272702: Resolving URI relative path with no / may lead to incorrect toString
Changes: https://git.openjdk.java.net/jdk/pull/8899/files
Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=8899&range=00
Issue: https://bugs.openjdk.java.net/browse/JDK-8272707
Stats: 23 lines in 2 files changed: 20 ins; 0 del; 3 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