You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ga...@apache.org on 2014/07/22 09:06:33 UTC

fauxton commit: updated refs/heads/master to 5a3bb55

Repository: couchdb-fauxton
Updated Branches:
  refs/heads/master d733d2b04 -> 5a3bb5529


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/master
Commit: 5a3bb5529398c91aade6dabeee530b68e7817bc5
Parents: d733d2b
Author: sebastianrothbucher <se...@googlemail.com>
Authored: Fri Jul 18 00:19:12 2014 +0200
Committer: Garren Smith <ga...@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);
       }