]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 1283554 - Odd number of elements in anonymous hash at /data/www/bugzilla.mozilla...
authorDylan Hardison <dylan@mozilla.com>
Thu, 30 Jun 2016 18:05:11 +0000 (14:05 -0400)
committerDylan Hardison <dylan@mozilla.com>
Thu, 30 Jun 2016 18:05:34 +0000 (14:05 -0400)
auth.cgi

index 050280f5f49c15d494bbc5d075620c63e0bfbdb1..05ec79b5c7799f99c150f3bfa6c661030df423f7 100755 (executable)
--- a/auth.cgi
+++ b/auth.cgi
@@ -44,7 +44,7 @@ ThrowUserError("auth_delegation_invalid_description")
 
 my $callback_uri  = URI->new($callback);
 $callback_uri->scheme =~ /^https?$/
-  or ThrowUserError('auth_delegation_illegal_protocol', { protocol => $callback_uri->scheme });
+  or ThrowUserError('auth_delegation_illegal_protocol', { protocol => scalar $callback_uri->scheme });
 my $callback_base = $callback_uri->clone;
 $callback_base->query(undef);