Rush has submitted this change and it was merged. Change subject: Reapply Bugzilla XML-RPC API workaround for a short while again ......................................................................
Reapply Bugzilla XML-RPC API workaround for a short while again Chase asked for this to test mass-fetching numerous Bugzilla tickets as a preparation for the migration to Phabricator: We'd like to make sure that there are no further issues we need to tackle (private comments and attachments, access restricted bug reports, and non-existing ticket numbers are already handled). We likely want to remove this again around Wednesday to do further testing with fetching attachments, then reapply on Friday for migrating bug reports, then remove for migrating attachments. Hell yeah. T815 Change-Id: Id999039c6d0c372235249859f781ae78c6b07e7a --- M Bugzilla/WebService/Server/XMLRPC.pm 1 file changed, 5 insertions(+), 0 deletions(-) Approvals: Rush: Verified; Looks good to me, approved diff --git a/Bugzilla/WebService/Server/XMLRPC.pm b/Bugzilla/WebService/Server/XMLRPC.pm index 03590bd..26bf74e 100644 --- a/Bugzilla/WebService/Server/XMLRPC.pm +++ b/Bugzilla/WebService/Server/XMLRPC.pm @@ -273,6 +273,11 @@ } } } +# BEGIN workaround for https://bugzilla.wikimedia.org/show_bug.cgi?id=69747 +if (ref $initial eq '') { +$initial =~ s/([\x01-\x08\x0b\x0c\x0f-\x1f])/sprintf "\\x%02x", ord($1)/ge; +} +# END workaround for https://bugzilla.wikimedia.org/show_bug.cgi?id=69747 return $initial; } -- To view, visit https://gerrit.wikimedia.org/r/173516 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: Id999039c6d0c372235249859f781ae78c6b07e7a Gerrit-PatchSet: 2 Gerrit-Project: wikimedia/bugzilla/modifications Gerrit-Branch: master Gerrit-Owner: Aklapper <aklap...@wikimedia.org> Gerrit-Reviewer: Chasemp <chas...@gmail.com> Gerrit-Reviewer: Dzahn <dz...@wikimedia.org> Gerrit-Reviewer: Rush <r...@wikimedia.org> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits