Commit 2b6920ef authored by Dave Cridland's avatar Dave Cridland

OF-997 Deny framing to avoid clickjacking

parent 1a3bf443
......@@ -114,6 +114,8 @@ public class PluginServlet extends HttpServlet {
else {
handleOtherRequest(pathInfo, response);
}
// Do not allow framing; OF-997
response.addHeader("X-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