Commit 9ee30d0f authored by Dave Cridland's avatar Dave Cridland

OF-997 Make Frame-Options value an option

parent 2b6920ef
......@@ -115,7 +115,7 @@ public class PluginServlet extends HttpServlet {
handleOtherRequest(pathInfo, response);
}
// Do not allow framing; OF-997
response.addHeader("X-Frame-Options", "deny");
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