From: Marius Gavrilescu Date: Wed, 12 Feb 2014 07:08:06 +0000 (+0200) Subject: Allow images from google analytics X-Git-Url: http://git.ieval.ro/?a=commitdiff_plain;h=b7fc1ad22d194b102e6fdff81c752aa3140befb3;p=plack-app-gruntmaster.git Allow images from google analytics --- diff --git a/app.psgi b/app.psgi index 9908172..75076cb 100644 --- a/app.psgi +++ b/app.psgi @@ -11,7 +11,7 @@ use Digest::SHA qw/sha256/; use Log::Log4perl; use constant ACCESSLOG_FORMAT => '%{X-Forwarded-For}i|%h %u "%r" %>s %b "%{Referer}i" "%{User-agent}i"'; -use constant CONTENT_SECURITY_POLICY => q,default-src 'none'; script-src 'self' www.google-analytics.com; style-src 'self'; img-src 'self'; connect-src 'self',; +use constant CONTENT_SECURITY_POLICY => q,default-src 'none'; script-src 'self' www.google-analytics.com; style-src 'self'; img-src 'self' www.google-analytics.com; connect-src 'self',; $Apache2::AuthzCaps::rootdir = $Apache2::Authen::Passphrase::rootdir; my $word = qr,(\w+),a;