Fix URL matching in OpenID auth module (#1080)

This commit is contained in:
Clément Oudot 2016-09-06 10:00:47 +00:00
parent cfff6103a7
commit 3e96a5fba9

View File

@ -109,7 +109,7 @@ sub extractFormInfo {
# 3. Check if an OpenID url has been submitted
else {
my $tmp = $url;
$tmp =~ m#^http//(.*?)/#;
$tmp =~ m#^https?://(.*?)/#;
if ( $tmp =~
$self->{_reopenIdIDPList} xor $self->{_openIdIDPListIsWhite} )
{