Some libcurl clients send file:// URLs via configured proxy

Bug #562454 reported by rjek
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
curl (Ubuntu)
New
Undecided
Unassigned
Nominated for Lucid by rjek

Bug Description

Binary package hint: curl

In Ubuntu 10.04 (beta 1), if a proxy is configured, "use the same proxy for all protocols" is ticked, and the setting is applied system-wide, some libcurl clients end up sending file:// URLs via the configured proxy. The proxy then politely tells them where to shove their request.

Occurs in 7.19.7-1ubuntu1. (Test application is NetSurf, which has its own proxy settings, but is careful not to apply them when fetching file:// URLs; it would appear libcurl is setting it anyway.)

An strace of NetSurf shows this:
sendto(14, "GET file:////home/rjek/svn/netsurf/netsurf/gtk/res/gtkdefault.css HTTP/1.0\r\nUser-Agent: NetSurf/3.0 (Linux; x86_64)\r\nHost: \r\nAccept: */*\r\nAccept-Encoding: gzip\r\nProxy-Connection: Keep-Alive\r\n\r\n", 193, MSG_NOSIGNAL, NULL, 0) = 193

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.