https://bugzilla.wikimedia.org/show_bug.cgi?id=28541

Roan Kattouw <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |[email protected]
         Resolution|                            |FIXED

--- Comment #5 from Roan Kattouw <[email protected]> 2011-04-17 12:58:52 
UTC ---
Fixed in r86257 by hex-encoding the sortkeys.

I experimented with armoring binary data and managed to get it to output
correctly in JSON, but XML explicitly forbids non-printable ASCII characters.
Even escaping them as &#6; is forbidden.

Since sending binary data for sortkey presentation wasn't gonna work, that also
presented a problem for sortkeys used as part of the cmcontinue parameter. For
that reason I decided to hex-encode all sortkeys (in list=categorymembers and
prop=categories output, and in cmcontinue) and decode hex sortkeys in the
cmcontinue back to binary when using them in the SQL query.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to