Commit b85cedcc authored by Xavier Guimard's avatar Xavier Guimard

Typo (#1137)

parent 0845237e
......@@ -129,7 +129,7 @@
.\" ========================================================================
.\"
.IX Title "llng-fastcgi-server 1"
.TH llng-fastcgi-server 1 "2017-02-19" "perl v5.24.1" "User Contributed Perl Documentation"
.TH llng-fastcgi-server 1 "2017-03-16" "perl v5.24.1" "User Contributed Perl Documentation"
.\" For nroff, turn off justification. Always turn off hyphenation; it makes
.\" way too many mistakes in technical documents.
.if n .ad l
......
......@@ -78,7 +78,7 @@ sub init {
$self->addRoute( 'psgi.js' => 'sendJs', ['GET'] );
my $portal = $conf->{portal};
$portal =~ s#htts?://([^/])*.*#$1#;
$portal =~ s#https?://([^:/]*).*#$1#;
$self->csp(
"default-src 'self';frame-ancestors 'none';form-action 'self';img-src 'self' $portal;"
);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment