1
0
mirror of synced 2026-07-20 01:55:08 +00:00

SEC-2511: Remove double ALLOW-FROM from X-Frame-Options header.

The interface documentation for getAllowFromValue states: Gets the value for ALLOW-FROM excluding the ALLOW-FROM.
This commit is contained in:
getvictor
2014-02-09 10:34:42 -06:00
committed by Rob Winch
parent 1172d44397
commit f02b77794f
@@ -30,7 +30,7 @@ abstract class AbstractRequestParameterAllowFromStrategy implements AllowFromStr
log.debug("Supplied origin '"+allowFromOrigin+"'");
}
if (StringUtils.hasText(allowFromOrigin) && allowed(allowFromOrigin)) {
return "ALLOW-FROM " + allowFromOrigin;
return allowFromOrigin;
} else {
return "DENY";
}