Hanlder: remove ALL cookies and not just the first that match
This commit is contained in:
parent
936a7552c7
commit
bf5c2616c3
|
@ -867,7 +867,7 @@ sub hideCookie {
|
|||
my $class = shift;
|
||||
$class->lmLog( "$class: removing cookie", 'debug' );
|
||||
my $tmp = lmHeaderIn( $apacheRequest, 'Cookie' );
|
||||
$tmp =~ s/$cookieName(?:http)?[^,;]*[,;]?//o;
|
||||
$tmp =~ s/$cookieName(?:http)?[^,;]*[,;]?//og;
|
||||
lmSetHeaderIn( $apacheRequest, 'Cookie' => $tmp );
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user