From 59860253caec57f7112924d9284e908368fb5e6d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josu=C3=A9=20Tille?= Date: Sat, 10 Mar 2018 16:31:21 +0100 Subject: [PATCH] Fix stretch --- conf/nginx.conf | 3 +++ manifest.json | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index 3c1e0fe..0ff3d09 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -10,6 +10,9 @@ location PATHTOCHANGE1 { # used for view/edit office file via Office Online Server client_max_body_size 0; + + # Allow seafile to use 'eval' without blocking the execution. But keep a warning. + add_header Content-Security-Policy-Report-Only "script-src https: 'unsafe-eval'"; access_log /var/log/nginx/seahub.access.log; error_log /var/log/nginx/seahub.error.log; diff --git a/manifest.json b/manifest.json index 0f48c94..eba1b59 100644 --- a/manifest.json +++ b/manifest.json @@ -4,7 +4,7 @@ "packaging_format": 1, "license": "AGPL-3.0,Apache-2.0,MIT,GPL-2.0", "url": "https://www.seafile.com", - "version": "6.2.5~ynh1", + "version": "6.2.5~ynh2", "description": { "en": "Open Source Cloud Storage", "fr": "Stockage Cloud Open Source"