[Bug 981856] Re: glib-pacrunner does not support file:// pac files

Daniel Holbach daniel.holbach at ubuntu.com
Tue Apr 24 09:13:21 UTC 2012


Unsubscribing sponsors for now.

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/981856

Title:
  glib-pacrunner does not support file:// pac files

Status in GLib Networking:
  Fix Released
Status in “glib-networking” package in Ubuntu:
  Fix Committed
Status in “glib-networking” source package in Precise:
  Fix Committed

Bug description:
  When using a local pac file via file:///path/to/pac-file.pac, glib-
  pacrunner falls back upon wpad://, thus using either a wrongly-
  obtained pac file via wpad, or not being able to find a pac file to
  run in the first place.

  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(url, host) {
      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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/glib-networking/+bug/981856/+subscriptions



More information about the Ubuntu-sponsors mailing list