From fa7ae98d1b2e83e88b2861f0826dc89e5b3bbd63 Mon Sep 17 00:00:00 2001 From: Dylan William Hardison Date: Tue, 11 Aug 2015 13:31:49 -0400 Subject: Bug 1184332 - Add Restricted API calls for MozReview --- Bugzilla/WebService/Server/REST.pm | 1 + 1 file changed, 1 insertion(+) (limited to 'Bugzilla/WebService/Server') 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); -- cgit v1.2.3-24-g4f1b