Reverted: Enhance cookies security
(OFBIZ-9865) This reverts r1812540. It does not fit with OFBiz which then ask you to login on any action! git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1812623 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -981,8 +981,6 @@ public class RequestHandler {
|
||||
// https://bugzilla.mozilla.org/show_bug.cgi?id=528661
|
||||
resp.addHeader("X-XSS-Protection","1; mode=block");
|
||||
|
||||
resp.setHeader("Set-Cookie", "SameSite=strict"); // TODO maybe one day the ServletContext will allow to do that, then better in WebAppServletContextListener
|
||||
|
||||
resp.setHeader("Referrer-Policy", "no-referrer-when-downgrade"); // This is the default (in Firefox at least)
|
||||
|
||||
// TODO in custom project. Public-Key-Pins-Report-Only is interesting but can't be used OOTB because of demos (the letsencrypt certificate is renewed every 3 months)
|
||||
|
||||
Reference in New Issue
Block a user