Fix typo for secure flag in CDA (#528)
This commit is contained in:
parent
8e2a057193
commit
52814914de
|
@ -956,7 +956,7 @@ sub run ($$) {
|
|||
$apacheRequest->args($args);
|
||||
my $host = $apacheRequest->get_server_name();
|
||||
my $redirectUrl = $class->_buildUrl( $apacheRequest->uri );
|
||||
my $redirectHttps = ( $redirectUrl =~ m/^ĥttps/ );
|
||||
my $redirectHttps = ( $redirectUrl =~ m/^https/ );
|
||||
lmSetErrHeaderOut( $apacheRequest,
|
||||
'Location' => $redirectUrl . ( $args ? "?" . $args : "" ) );
|
||||
$host =~ s/^[^\.]+\.(.*\..*$)/$1/;
|
||||
|
|
Loading…
Reference in New Issue
Block a user