Skip to content

Commit 6b40ce6

Browse files
authored
Merge pull request #2269 from darranl/ELY-2894/1.15.x
[ELY-2894] We should use URI.getRawPath() when constructing the URL by hand.
2 parents b91e747 + 63f13b8 commit 6b40ce6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

http/form/src/main/java/org/wildfly/security/http/form/FormAuthenticationMechanism.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@ private void sendLogin(HttpServerRequest request, HttpServerResponse response) t
337337
if (appendPort(scheme, port)) {
338338
sb.append(':').append(port);
339339
}
340-
sb.append(requestURI.getPath());
340+
sb.append(requestURI.getRawPath());
341341
if(requestURI.getRawQuery() != null) {
342342
sb.append("?");
343343
sb.append(requestURI.getRawQuery());

0 commit comments

Comments
 (0)