1
0
mirror of synced 2026-08-05 17:57:15 +00:00

SEC-1772: remote URL decoding of targetUrlParameter in AbstractAuthenticationTargetUrlRequestHandler.

This commit is contained in:
Luke Taylor
2011-07-13 22:13:52 +01:00
parent de97bac85b
commit 700fa9e0b6
@@ -91,12 +91,6 @@ public abstract class AbstractAuthenticationTargetUrlRequestHandler {
targetUrl = request.getParameter(targetUrlParameter);
if (StringUtils.hasText(targetUrl)) {
try {
targetUrl = URLDecoder.decode(targetUrl, "UTF-8");
} catch (UnsupportedEncodingException e) {
throw new IllegalStateException("UTF-8 not supported. Shouldn't be possible");
}
logger.debug("Found targetUrlParameter in request: " + targetUrl);
return targetUrl;