glib-pacrunner does not support file:// pac files
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glib Networking |
Fix Released
|
Medium
|
|||
glib-networking (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Precise |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
When using a local pac file via file://
This causes issues with Liferea's Webkit-based HTML-view, and probably a couple of other applications I haven't noticed as well.
TEST CASE:
1. Open Liferea
2. Subscribe to the xkcd.com feed
3. Click on one of the feed items
4. Notice that an image is displayed.
5. Save the following as a .pac file, e.g. in /tmp/bug-981856.pac
---->8----
function FindProxyForURL
return 'DIRECT';
}
----8<-----
6. Quit Liferea
7. Set proxy in GNOME to file:///tmp/bug-981856.pac
9. Open Liferea
10. Click on a previously unopened feed item (the image may be cached)
11. Observe if the image loads
- With the bugfix in place, it should, but without, it doesn't.
Related branches
Changed in glib-networking: | |
importance: | Unknown → Medium |
status: | Unknown → New |
Changed in glib-networking: | |
status: | New → Fix Released |
description: | updated |
tags: |
added: verification-done removed: verification-needed |
I'll attach a patch for this shortly.