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 609731 - Auto-escape % character when used as data in URIs
Auto-escape % character when used as data in URIs
Status: RESOLVED DUPLICATE of bug 590524
Product: libsoup
Classification: Core
Component: Misc
unspecified
Other Linux
: Normal normal
: ---
Assigned To: libsoup-maint@gnome.bugs
libsoup-maint@gnome.bugs
Depends on:
Blocks:
 
 
Reported: 2010-02-12 12:11 UTC by Xan Lopez
Modified: 2010-02-14 23:45 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
autoescape.diff (3.51 KB, patch)
2010-02-12 12:11 UTC, Xan Lopez
none Details | Review

Description Xan Lopez 2010-02-12 12:11:27 UTC
Created attachment 153620 [details] [review]
autoescape.diff

See webkit bug https://bugs.webkit.org/show_bug.cgi?id=31008 for details. Patch attached. The only remarkable thing about the patch is that I had to change the code to use a GString to build-up the result, since previously it was assumed that the length of the normalized string would be the same than the old length. This is no longer the case.
Comment 1 Dan Winship 2010-02-14 23:45:04 UTC
it appears that firefox just passes the bad encoding as-is to the server rather than fixing the stray "%" to be "%25". So I'm going to do that instead. duping to an older bug.

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