Skip to content

Commit

Permalink
Bug 1124716: regression caused by bug 1090275 to whitelist webservice…
Browse files Browse the repository at this point in the history
… methods causes test failures with t/012throwables.t

r=dylan,a=glob
  • Loading branch information
dklawren committed Jan 23, 2015
1 parent bb16842 commit b8575ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Bugzilla/WebService/Server/JSONRPC.pm
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,7 @@ sub _argument_type_check {

# Only allowed methods to be used from our whitelist
if (none { $_ eq $method} $pkg->PUBLIC_METHODS) {
ThrowUserError('unknown_method', { method => $self->bz_method_name });
ThrowCodeError('unknown_method', { method => $self->_bz_method_name });
}

# This is the best time to do login checks.
Expand Down

0 comments on commit b8575ad

Please sign in to comment.