couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gar...@apache.org
Subject [04/51] [abbrv] fauxton commit: updated refs/heads/Update-Sidebar to c713f63
Date Tue, 22 Jul 2014 07:32:03 GMT
fix CSP for Fauxton dev mode


Project: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/commit/5a3bb552
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/tree/5a3bb552
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/diff/5a3bb552

Branch: refs/heads/Update-Sidebar
Commit: 5a3bb5529398c91aade6dabeee530b68e7817bc5
Parents: d733d2b
Author: sebastianrothbucher <sebastianrothbucher@googlemail.com>
Authored: Fri Jul 18 00:19:12 2014 +0200
Committer: Garren Smith <garren.smith@gmail.com>
Committed: Tue Jul 22 09:06:08 2014 +0200

----------------------------------------------------------------------
 tasks/couchserver.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/5a3bb552/tasks/couchserver.js
----------------------------------------------------------------------
diff --git a/tasks/couchserver.js b/tasks/couchserver.js
index 3e82e98..d8e4d04 100644
--- a/tasks/couchserver.js
+++ b/tasks/couchserver.js
@@ -46,7 +46,7 @@ module.exports = function (grunt) {
           filePath;
 
       if (setContentSecurityPolicy) {
-        var headerValue = "default-src 'self'; img-src 'self'; font-src 'self'; " +
+        var headerValue = "default-src 'self'; img-src 'self' data:; font-src 'self'; " +
                           "script-src 'self' 'unsafe-eval'; style-src 'self' 'unsafe-inline';";
         res.setHeader('Content-Security-Policy', headerValue);
       }


Mime
View raw message