Commit be58aca7 authored by Dave Cridland's avatar Dave Cridland

Merge pull request #442 from surevine/of-997

OF-997 Deny framing to avoid clickjacking
parents f1a192c5 9ee30d0f
......@@ -114,6 +114,8 @@ public class PluginServlet extends HttpServlet {
else {
handleOtherRequest(pathInfo, response);
}
// Do not allow framing; OF-997
response.addHeader("X-Frame-Options", JiveGlobals.getProperty("adminConsole.frame-options", "deny"));
}
catch (Exception e) {
Log.error(e.getMessage(), e);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment