diff options
author | Max Kanat-Alexander <mkanat@bugzilla.org> | 2010-12-06 10:59:23 -0800 |
---|---|---|
committer | Max Kanat-Alexander <mkanat@bugzilla.org> | 2010-12-06 10:59:23 -0800 |
commit | b6006edb25d27ad3f527fd2889688dd788649fa5 (patch) | |
tree | 126ac0fd5966bbe3b76751faf08467c4bf74f975 /Bugzilla/WebService/Constants.pm | |
parent | b82f8f683c7f3d396076b9c6b4b2aadf191c5625 (diff) | |
download | bugs-b6006edb25d27ad3f527fd2889688dd788649fa5.tar bugs-b6006edb25d27ad3f527fd2889688dd788649fa5.tar.gz bugs-b6006edb25d27ad3f527fd2889688dd788649fa5.tar.bz2 bugs-b6006edb25d27ad3f527fd2889688dd788649fa5.tar.xz bugs-b6006edb25d27ad3f527fd2889688dd788649fa5.zip |
Bug 617030 - Add an error code for json_rpc_invalid_callback, and fix the
regex used by _bz_callback in Bugzilla::WebService::Server::JSONRPC to
accept numbers other than 0 or 1.
r=LpSolit, a=mkanat
Diffstat (limited to 'Bugzilla/WebService/Constants.pm')
-rw-r--r-- | Bugzilla/WebService/Constants.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Bugzilla/WebService/Constants.pm b/Bugzilla/WebService/Constants.pm index 788f8bcc4..266ec3828 100644 --- a/Bugzilla/WebService/Constants.pm +++ b/Bugzilla/WebService/Constants.pm @@ -135,6 +135,7 @@ use constant WS_ERROR_CODE => { xmlrpc_invalid_value => -32600, unknown_method => -32601, json_rpc_post_only => 32610, + json_rpc_invalid_callback => 32611, }; # These are the fallback defaults for errors not in ERROR_CODE. |