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

couch commit: updated refs/heads/fix-csp to 8c9e0c7

Repository: couchdb-couch
Updated Branches:
  refs/heads/fix-csp 6f626a27d -> 8c9e0c79d


fix test


Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-couch/commit/8c9e0c79
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-couch/tree/8c9e0c79
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-couch/diff/8c9e0c79

Branch: refs/heads/fix-csp
Commit: 8c9e0c79d6f2638a8be6432ab3d5d7f7003068ee
Parents: 6f626a2
Author: Robert Kowalski <ro...@kowalski.gd>
Authored: Sat Sep 6 17:24:36 2014 +0200
Committer: Robert Kowalski <ro...@kowalski.gd>
Committed: Sat Sep 6 17:24:36 2014 +0200

----------------------------------------------------------------------
 test/couchdb_csp_tests.erl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-couch/blob/8c9e0c79/test/couchdb_csp_tests.erl
----------------------------------------------------------------------
diff --git a/test/couchdb_csp_tests.erl b/test/couchdb_csp_tests.erl
index 3dbe6e3..5eb33f9 100644
--- a/test/couchdb_csp_tests.erl
+++ b/test/couchdb_csp_tests.erl
@@ -57,7 +57,7 @@ should_not_return_any_csp_headers_when_disabled(Url) ->
 
 should_apply_default_policy(Url) ->
     ?_assertEqual(
-        "default-src 'self'; img-src 'self'; font-src 'self'; "
+        "default-src 'self'; img-src 'self' data:; font-src 'self'; "
         "script-src 'self' 'unsafe-eval'; style-src 'self' 'unsafe-inline';",
         begin
             {ok, _, Headers, _} = test_request:get(Url),