summaryrefslogtreecommitdiffstats
path: root/Bugzilla/WebService/Server
diff options
context:
space:
mode:
authorDylan William Hardison <dylan@hardison.net>2015-08-11 19:31:49 +0200
committerDylan William Hardison <dylan@hardison.net>2015-08-11 19:31:49 +0200
commitfa7ae98d1b2e83e88b2861f0826dc89e5b3bbd63 (patch)
tree85d583e196cce1c85a9c985e3f6ce7f39269819b /Bugzilla/WebService/Server
parent589ec37a32d8687d612eedd107748b7afadd07fd (diff)
downloadbugzilla-fa7ae98d1b2e83e88b2861f0826dc89e5b3bbd63.tar.gz
bugzilla-fa7ae98d1b2e83e88b2861f0826dc89e5b3bbd63.tar.xz
Bug 1184332 - Add Restricted API calls for MozReview
Diffstat (limited to 'Bugzilla/WebService/Server')
-rw-r--r--Bugzilla/WebService/Server/REST.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/Bugzilla/WebService/Server/REST.pm b/Bugzilla/WebService/Server/REST.pm
index 1af41fe16..858375247 100644
--- a/Bugzilla/WebService/Server/REST.pm
+++ b/Bugzilla/WebService/Server/REST.pm
@@ -187,6 +187,7 @@ sub handle_login {
my $class = $self->bz_class_name;
my $method = $self->bz_method_name;
my $full_method = $class . "." . $method;
+ $full_method =~ s/^Bugzilla::WebService:://;
# Bypass JSONRPC::handle_login
Bugzilla::WebService::Server->handle_login($class, $method, $full_method);