mirror of
https://framagit.org/fiat-tux/hat-softwares/lutim.git
synced 2026-08-10 19:03:36 +02:00
Fix #78 Add CSP Header
+ update morris and raphael graph libraries + some changes in "myfiles" table
This commit is contained in:
@@ -63,7 +63,8 @@ BEGIN {
|
||||
my $t = Test::Mojo->new('Lutim');
|
||||
$t->get_ok('/')
|
||||
->status_is(200)
|
||||
->content_like(qr/Let's Upload That IMage/i);
|
||||
->content_like(qr/Let's Upload That IMage/i)
|
||||
->header_is('Content-Security-Policy' => "base-uri 'self'; connect-src 'self'; default-src 'none'; font-src 'self'; form-action 'self'; img-src 'self' data:; script-src 'self' 'unsafe-eval'; style-src 'self' 'unsafe-inline'");
|
||||
|
||||
# Gzip static assets
|
||||
$t->get_ok('/css/lutim.css')
|
||||
|
||||
Reference in New Issue
Block a user