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 670733 - Regression: file:// URLs with query part broken in 2.37.5 and up
Regression: file:// URLs with query part broken in 2.37.5 and up
Status: RESOLVED FIXED
Product: libsoup
Classification: Core
Component: Misc
2.37.x
Other Linux
: Normal critical
: ---
Assigned To: libsoup-maint@gnome.bugs
libsoup-maint@gnome.bugs
Depends on:
Blocks:
 
 
Reported: 2012-02-24 10:54 UTC by Dominik Röttsches
Modified: 2012-02-24 16:58 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Dominik Röttsches 2012-02-24 10:54:28 UTC
file:// URLs that contain a query part fail to load on libsoup release version 2.37.5 and up to 2.3.90 due to commit: 38aab0e2b5140d98cdf29c7acd830a7bdf3792e4
"Try to make file:// uris work in win32 too"

Found while debugging a failed webkit layout test with that version.

Reproduction steps:
Use Soup Requester to load a file:// url like:
file://LayoutTests/jquery/resources/test/index.html?traversing

Expected:
Filesystem access is made with the query part truncated.

Actual:
libsoup tries to retreive the file with the ?traversing query appended.
Comment 1 Dan Winship 2012-02-24 16:58:57 UTC
This seems to be a glib bug to me (bug 670755), but I'm now working around it in libsoup.