GNOME Bugzilla – Bug 168322
url plugin mishandles HTTP 302 responses
Last modified: 2008-01-15 12:48:42 UTC
It I try to open an image usnig the Gimp (right-click ,open image with) whose URL contains several parameters (http://host/script.php?p1=foo&p2=bar), I get an error saying it could not open "http://host/script.php?p1=foo". You can try with http://www.bearteam.org/photos/photos?PictureID=4652 since a cookie parameter is added.
This works fine for me; what version of gimp are you using, and how is the error reported (e.g. does galeon of gimp report the error, and is it in a dialog) ?
It is in fact a Gimp error message.
What version of gimp are you using ?
I'm using Gimp 2.2.3. If I run this command from an xterm gimp 'http://stan/~laurent/tof/thumb.php?PictureID=2461' I get a dialog with the following messages: Message URL A network error occured: Location: http://stan/~laurent/tof/thumb.php?PictureID=2461&slooze=5c9d792f1383a8390d2de3f8940990de [following] Message GIMP Opening 'http://stan/~laurent/tof/thumb.php?PictureID=2461' failed: Plug-In could not open image
lets see if the gimp authors know what is happening here, AFAICT galeon just passes the url to gimp, and gimp is failing somewhere, although, it does work for me.
We're not parsing out wget's messages for HTTP 302 responses.
Fixed for gimp-2-2: 2005-02-23 Manish Singh <yosh@gimp.org> * plug-ins/common/url.c: Handle HTTP 302 Redirect output from wget properly. Also give a little more informative display for unspecified sizes. Fixes bug #168322.
And fixed for HEAD: 2005-02-24 Manish Singh <yosh@gimp.org> * plug-ins/uri/uri-backend-wget.c: Handle HTTP 302 Redirect output from wget properly. Also give a little more informative display for unspecified sizes. Fixes bug #168322.