After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 148484 - filename <-> uri conversion broken after recent changes
filename <-> uri conversion broken after recent changes
Status: RESOLVED DUPLICATE of bug 148420
Product: glib
Classification: Platform
Component: general
2.4.x
Other All
: Immediate blocker
: ---
Assigned To: gtkdev
gtkdev
Depends on:
Blocks:
 
 
Reported: 2004-07-26 11:35 UTC by Michael Natterer
Modified: 2011-02-18 16:07 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Trivial patch which fixes g_unescape_uri_string() (547 bytes, patch)
2004-07-26 12:02 UTC, Michael Natterer
none Details | Review

Description Michael Natterer 2004-07-26 11:35:36 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 :-(
Comment 1 Sven Neumann 2004-07-26 11:39:26 UTC
This is the cause for bug #148140 and bug #148371 (and probably more bug reports
in other applications).
Comment 2 Michael Natterer 2004-07-26 12:02:19 UTC
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...
Comment 3 Owen Taylor 2004-07-26 12:09:36 UTC

*** This bug has been marked as a duplicate of 148420 ***