Commit 2f65ef51 authored by Byron Jones's avatar Byron Jones

Bug 1142399: invalid xmlrpc requests warns: Use of uninitialized value $file in…

Bug 1142399: invalid xmlrpc requests warns: Use of uninitialized value $file in substitution (s///) (Bugzilla/WebService/Server/XMLRPC.pm:114) r=dkl,a=glob
parent 694d136a
......@@ -98,6 +98,9 @@ sub make_response {
sub handle_login {
my ($self, $classes, $action, $uri, $method) = @_;
my $class = $classes->{$uri};
if (!$class) {
ThrowCodeError('unknown_method', { method => $method eq 'methodName' ? '' : '.' . $method });
}
my $full_method = $uri . "." . $method;
# Only allowed methods to be used from the module's whitelist
my $file = $class;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment