-
Bug
-
Resolution: Done
-
Major
-
1.19.0.Final
-
None
An HTTP GET request with encoded query parameters secured by digest authentication fails.
The code in https://github.com/wildfly-security/wildfly-elytron/blob/1.x/http/digest/src/main/java/org/wildfly/security/http/digest/DigestAuthenticationMechanism.java#L285 compares the digest URI with the request URI and uses requestURI.getQuery() to append any query parameters. These query parameters are decoded and thus the string comparison fails.
Instead, I think the code should use requestURI.getRawQuery() which returns the encoded query parameters.
- causes
-
HAL-1770 Content of Deployment is not displayed
- Resolved
- is cloned by
-
JBEAP-23570 [GSS](7.4.z) ELY-2308 ELY-2315 - Digest authentication fails for encoded queries
- Closed
- is related to
-
ELY-2315 Digest authentication fails for encoded paths
- Resolved