summaryrefslogtreecommitdiffstats
path: root/auth.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'auth.cgi')
-rwxr-xr-xauth.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/auth.cgi b/auth.cgi
index 050280f5f..05ec79b5c 100755
--- 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);