summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDylan William Hardison <dylan@hardison.net>2015-08-28 05:45:06 +0200
committerDylan William Hardison <dylan@hardison.net>2015-08-28 05:45:06 +0200
commit52c93e6088a113681179f6184bb898a36d97ecbd (patch)
tree270c4874442f4522d7b563c911cd9ff8aa9da008
parent933f413244c133d8ac86ccecb869bd356c73b92c (diff)
downloadbugzilla-52c93e6088a113681179f6184bb898a36d97ecbd.tar.gz
bugzilla-52c93e6088a113681179f6184bb898a36d97ecbd.tar.xz
Bug 1199329 - Auth Delegation should ignore the query string parameters of a callback URI when determining uniqueness
-rwxr-xr-xauth.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/auth.cgi b/auth.cgi
index c5dae77de..f069e3aec 100755
--- a/auth.cgi
+++ b/auth.cgi
@@ -64,7 +64,7 @@ if ($confirmed || $skip_confirmation) {
{ token => $token, callback => $callback });
}
}
- my $app_id = sha256_hex($callback_uri, $description);
+ my $app_id = sha256_hex($callback_base, $description);
my $keys = Bugzilla::User::APIKey->match({
user_id => $user->id,
app_id => $app_id,