Fix mistake (#1480)
This commit is contained in:
parent
1bebba42c3
commit
700f08ad33
|
@ -730,7 +730,7 @@ sub sendHtml {
|
||||||
$self->logger->debug("Set CSP form-action with urldc : $url");
|
$self->logger->debug("Set CSP form-action with urldc : $url");
|
||||||
$csp .= " $url";
|
$csp .= " $url";
|
||||||
}
|
}
|
||||||
my $url = $args->{params}->{URL};
|
my $url = $args{params}->{URL};
|
||||||
$self->logger->debug("Required Params URL : $url");
|
$self->logger->debug("Required Params URL : $url");
|
||||||
if ( defined $url and $url =~ s#(https?://[^/]+).*#$1# ) {
|
if ( defined $url and $url =~ s#(https?://[^/]+).*#$1# ) {
|
||||||
$self->logger->debug("Set CSP form-action with Params URL : $url");
|
$self->logger->debug("Set CSP form-action with Params URL : $url");
|
||||||
|
|
Loading…
Reference in New Issue
Block a user