GNOME Bugzilla – Bug 148484
filename <-> uri conversion broken after recent changes
Last modified: 2011-02-18 16:07:52 UTC
The recent changes made to ditch utf-8 conversion in g_filename_from_uri() and g_filename_to_uri() are incomplete. g_unescape_uri_string() still tries to utf-8 validate the unescaped string. Suggest marking the released glib-2.4.4 tarball as "don't use" and make a glib-2.4.5 release ASAP :-(
This is the cause for bug #148140 and bug #148371 (and probably more bug reports in other applications).
Created attachment 29896 [details] [review] Trivial patch which fixes g_unescape_uri_string() There is another issue, the hostname. It is still utf-8 validated on both conversion from and to URI. That looks buggy too...
*** This bug has been marked as a duplicate of 148420 ***