-
Type:
Task
-
Status: Closed
-
Priority:
Minor
-
Resolution: Completed
-
Affects Version/s: None
-
Component/s: Application Security, Core Infrastructure
-
Branch Version/s:7.2.x, 7.1.x, 7.0.x
-
Backported to Branch:Committed
-
Git Pull Request:
HTTPImpl has methods for getting parts of URL to parse uri/url, however it is not very consistent everywhere.
Try replace every parsing implementation with java.net.URI.
Notice java.net.URI has not been updated to RFC 3986, it only conformance with RFC 2396
See https://bugs.openjdk.java.net/browse/JDK-8019345 and https://cr.openjdk.java.net/~dfuchs/writeups/updating-uri/
Still it's way better parsing then our own implementation.
In case anyone has doubles in URL parsing, please refer to RFC3986
Common misunderstanding includes:
String of "google.com" is authority part(the part containing host/domain) of URL, while it really should be parsed as a relative path, because it's not leading with double slash "//"
See https://tools.ietf.org/html/rfc3986#section-3.2 for explaination
- causes
-
LPS-109571 Impersonate user fails to search its organization
- Closed
-
LPS-109963 Search page broken when assign role to user
- Closed
-
LPS-117038 Impersonating a Site Administrator causes errors when searching for users
- Closed