Closed Bug 1176452 Opened 10 years ago Closed 10 years ago

Invalid XML returned from User.get()

Categories

(Bugzilla :: WebService, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 839023

People

(Reporter: mcote, Unassigned)

References

Details

Attachments

(2 files)

Attached file query-user-xml-bug.py
On bugzilla.mozilla.org I am getting invalid XML returned from a User.get() call for one specific user: https://bugzilla-dev.allizom.org/user_profile?login=yokada%40art.osaka-med.ac.jp It seems that the presence of escape characters in the user's real name is a problem. This invalid XML causes an exception in Python's xmlrpclib (tested in Python 2.7.9). See attached script and output. Similar output is also in attachment 8624991 [details] in bug 1169724, where this bug was discovered (on prod). If you open that attachment, Firefox will try to parse it and fail, so it's not just a problem with Python's parser. To verify, run the attached script, passing a valid API key for bugzilla-dev: python query-user-xml-bug.py <api key>
Attached file script output
Heh glad revoking API keys is so easy, sigh. :)
pretty sure this is another instance bug 839023
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: