diff options
author | Dylan Hardison <dylan@mozilla.com> | 2016-03-03 16:43:37 +0100 |
---|---|---|
committer | Dylan Hardison <dylan@mozilla.com> | 2016-03-03 16:43:37 +0100 |
commit | 97e70cc623517e7eb7bb624f672182759a9c143f (patch) | |
tree | 9c568bdf4e603504c88c6a1a8f54dc76c7cc4205 /Bugzilla | |
parent | 9744f3c4fc6bb7f2181eacea492c3a6be97b9f6c (diff) | |
download | bugzilla-97e70cc623517e7eb7bb624f672182759a9c143f.tar.gz bugzilla-97e70cc623517e7eb7bb624f672182759a9c143f.tar.xz |
Bug 1253032 - Recent change to JSON::XS breaks some APIs
Diffstat (limited to 'Bugzilla')
-rw-r--r-- | Bugzilla/WebService/Server/JSONRPC.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Bugzilla/WebService/Server/JSONRPC.pm b/Bugzilla/WebService/Server/JSONRPC.pm index aa3d1ee75..b66bcaea1 100644 --- a/Bugzilla/WebService/Server/JSONRPC.pm +++ b/Bugzilla/WebService/Server/JSONRPC.pm @@ -62,6 +62,7 @@ sub create_json_coder { my $json = $self->SUPER::create_json_coder(@_); $json->allow_blessed(1); $json->convert_blessed(1); + $json->allow_nonref(1); # This may seem a little backwards, but what this really means is # "don't convert our utf8 into byte strings, just leave it as a # utf8 string." |