Skip to content

Commit 584670c

Browse files
author
Dylan Hardison
committed
Bug 1283554 - Odd number of elements in anonymous hash at /data/www/bugzilla.mozilla.org/auth.cgi line 46.
1 parent 7c42dc6 commit 584670c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

auth.cgi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ ThrowUserError("auth_delegation_invalid_description")
4444

4545
my $callback_uri = URI->new($callback);
4646
$callback_uri->scheme =~ /^https?$/
47-
or ThrowUserError('auth_delegation_illegal_protocol', { protocol => $callback_uri->scheme });
47+
or ThrowUserError('auth_delegation_illegal_protocol', { protocol => scalar $callback_uri->scheme });
4848
my $callback_base = $callback_uri->clone;
4949
$callback_base->query(undef);
5050

0 commit comments

Comments
 (0)