diff options
author | sualko <klaus@jsxc.org> | 2015-08-10 12:42:42 +0200 |
---|---|---|
committer | sualko <klaus@jsxc.org> | 2015-08-10 12:42:42 +0200 |
commit | 5590d64612c9dfe59b50108a26621b4feb570d27 (patch) | |
tree | 25ae0e6f9a867d07795af19e41b23d2bb69fa43e /tests/lib/appframework/controller | |
parent | 930841b67a18da5c5b89188be4f601ecedafedbb (diff) | |
download | nextcloud-server-5590d64612c9dfe59b50108a26621b4feb570d27.tar.gz nextcloud-server-5590d64612c9dfe59b50108a26621b4feb570d27.zip |
add more unit tests for data: as allowed image domain
Diffstat (limited to 'tests/lib/appframework/controller')
-rw-r--r-- | tests/lib/appframework/controller/ControllerTest.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib/appframework/controller/ControllerTest.php b/tests/lib/appframework/controller/ControllerTest.php index ccc373f4d59..0d7716da411 100644 --- a/tests/lib/appframework/controller/ControllerTest.php +++ b/tests/lib/appframework/controller/ControllerTest.php @@ -177,7 +177,7 @@ class ControllerTest extends \Test\TestCase { 'test' => 'something', 'Cache-Control' => 'no-cache, must-revalidate', 'Content-Type' => 'application/json; charset=utf-8', - 'Content-Security-Policy' => "default-src 'none';script-src 'self' 'unsafe-eval';style-src 'self' 'unsafe-inline';img-src 'self';font-src 'self';connect-src 'self';media-src 'self'", + 'Content-Security-Policy' => "default-src 'none';script-src 'self' 'unsafe-eval';style-src 'self' 'unsafe-inline';img-src 'self' data:;font-src 'self';connect-src 'self';media-src 'self'", ]; $response = $this->controller->customDataResponse(array('hi')); |