Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorjaltek <jaltek@mailbox.org>2018-01-31 16:17:56 +0300
committerRoeland Jago Douma <roeland@famdouma.nl>2018-06-06 23:13:35 +0300
commitc79dc0e08f9234739eccf07e13b971aa4664d86f (patch)
treecc492d6ae139e9db4bddec3aa87fccfcdf9145f3 /config
parentebdd3fb64a55fce706f97afa2f8ad529de05cabc (diff)
Configurable list for opt out from same site cookie protection
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'config')
-rw-r--r--config/config.sample.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/config/config.sample.php b/config/config.sample.php
index 40d83cea372..fb767c9cf8c 100644
--- a/config/config.sample.php
+++ b/config/config.sample.php
@@ -1595,4 +1595,14 @@ $CONFIG = array(
*/
'gs.federation' => 'internal',
+/**
+ * List of incompatible user agents opted out from Same Site Cookie Protection.
+ * Some user agents are notorious and don't really properly follow HTTP
+ * specifications. For those, have an opt-out.
+ */
+'csrf.optout' => array(
+ '/^WebDAVFS/', // OS X Finder
+ '/^Microsoft-WebDAV-MiniRedir/', // Windows webdav drive
+),
+
);