Introduce CSP headers to Kalamar (start of #72)
Change-Id: I84b7ff0accab3d783ad653fae123c25fee1d92b9
diff --git a/t/page.t b/t/page.t
index e04c5a7..029cb33 100644
--- a/t/page.t
+++ b/t/page.t
@@ -22,6 +22,12 @@
->attr_is('meta[property="og:url"]', 'content', '//korap2.ids-mannheim.de/')
;
+$t->get_ok('/')
+ ->header_like('Content-Security-Policy', qr!default-src 'self';!)
+ ->header_like('Content-Security-Policy', qr!media-src 'none';!)
+ ->header_like('Content-Security-Policy', qr!object-src 'self';!)
+ ;
+
done_testing;
1;