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 628728 - Do not uppercase percent-encoded triplets when parsing URL's
Do not uppercase percent-encoded triplets when parsing URL's
Status: RESOLVED FIXED
Product: libsoup
Classification: Core
Component: Misc
2.31.x
Other Linux
: Normal normal
: ---
Assigned To: libsoup-maint@gnome.bugs
libsoup-maint@gnome.bugs
Depends on:
Blocks:
 
 
Reported: 2010-09-03 19:06 UTC by Sergio Villar
Modified: 2010-09-08 17:05 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Do not uppercase %-encoded triplets when normalizing (1.56 KB, patch)
2010-09-03 19:10 UTC, Sergio Villar
accepted-commit_now Details | Review

Description Sergio Villar 2010-09-03 19:06:57 UTC
Everytime libsoup normalizes a URL with a percent-encoded triplet in lower case (like %3e) it tries to uppercase it.

RFC3986 Section 6.2.2.1 mentions that it SHOULD be done (not MUST). By doing so libsoup is not able to sometimes retrieve some resources. See https://bugs.webkit.org/show_bug.cgi?id=45025
Comment 1 Sergio Villar 2010-09-03 19:10:21 UTC
Created attachment 169454 [details] [review]
Do not uppercase %-encoded triplets when normalizing

Also includes a fix for the uri-parsing.c test. Now we no longer consider %7e and %7E as equal.
Comment 2 Sergio Villar 2010-09-08 17:05:29 UTC
closing the bug BTW