commit | cd6b7bd16c7a4bc142040f6ed59ebe8b92c20bf1 | [log] [tgz] |
---|---|---|
author | Jan Lehnardt <jan@apache.org> | Mon Sep 07 13:57:21 2020 +0200 |
committer | Jan Lehnardt <jan@apache.org> | Mon Sep 07 13:57:24 2020 +0200 |
tree | ffd2fdb7b57f58ca84f3f0ce6036030761a9e3b1 | |
parent | e7822a5390de398ae032a0f632ec3c9a89a10864 [diff] |
feat: add same_site = none_secure option c.f. https://web.dev/samesite-cookies-explained/
diff --git a/src/couch/src/couch_httpd_auth.erl b/src/couch/src/couch_httpd_auth.erl index 45a82bd..9d82e2d 100644 --- a/src/couch/src/couch_httpd_auth.erl +++ b/src/couch/src/couch_httpd_auth.erl
@@ -497,6 +497,7 @@ case string:to_lower(SameSite) of "" -> []; "none" -> [{same_site, none}]; + "none_secure" -> [{same_site, none}, secure]; "lax" -> [{same_site, lax}]; "strict" -> [{same_site, strict}]; _ ->