Rush has submitted this change and it was merged.

Change subject: bugzilla handles characters that are invalid for api
......................................................................


bugzilla handles characters that are invalid for api

refs T815

Change-Id: I77752960e8162db1fb47bd13439613eb5359f222
---
M Bugzilla/WebService/Server/XMLRPC.pm
1 file changed, 2 insertions(+), 1 deletion(-)

Approvals:
  Rush: Verified; Looks good to me, approved
  Dzahn: Looks good to me, but someone else must approve



diff --git a/Bugzilla/WebService/Server/XMLRPC.pm 
b/Bugzilla/WebService/Server/XMLRPC.pm
index 26bf74e..74206e1 100644
--- a/Bugzilla/WebService/Server/XMLRPC.pm
+++ b/Bugzilla/WebService/Server/XMLRPC.pm
@@ -273,9 +273,10 @@
             }
         }
     }
+
 # 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;
+$initial =~ s/([\x01-\x08\x0b\x0c\x0e\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/173998
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I77752960e8162db1fb47bd13439613eb5359f222
Gerrit-PatchSet: 1
Gerrit-Project: wikimedia/bugzilla/modifications
Gerrit-Branch: master
Gerrit-Owner: Rush <[email protected]>
Gerrit-Reviewer: Aklapper <[email protected]>
Gerrit-Reviewer: Dzahn <[email protected]>
Gerrit-Reviewer: Rush <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to