couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From robertkowal...@apache.org
Subject couch commit: updated refs/heads/fix-csp to 8c9e0c7
Date Sat, 06 Sep 2014 15:23:06 GMT
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 <rok@kowalski.gd>
Authored: Sat Sep 6 17:24:36 2014 +0200
Committer: Robert Kowalski <rok@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),


Mime
View raw message