Skip to content

Commit

Permalink
[ELY-2792] Spaces in query parameters are not correctly encoded for O…
Browse files Browse the repository at this point in the history
…IDC redirects
  • Loading branch information
Thomas Reinhardt committed Aug 23, 2024
1 parent f280c80 commit 3fb506c
Showing 1 changed file with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.io.UnsupportedEncodingException;
import java.net.InetAddress;
import java.net.InetSocketAddress;
import java.net.URI;
Expand Down Expand Up @@ -204,11 +203,7 @@ public String getMethod() {

@Override
public String getURI() {
try {
return URLDecoder.decode(request.getRequestURI().toString(), "UTF-8");
} catch (UnsupportedEncodingException e) {
throw log.failedToDecodeRequestUri(e);
}
return request.getRequestURI().toString();
}

@Override
Expand Down

0 comments on commit 3fb506c

Please sign in to comment.