force the server-response wget option off so it doesn't screw up our

2005-03-10  Manish Singh  <yosh@gimp.org>

        * plug-ins/uri/url-backend-wget.c: force the server-response wget
        option off so it doesn't screw up our parsing.
This commit is contained in:
Manish Singh 2005-03-11 00:00:12 +00:00 committed by Manish Singh
parent 2a1c63c8dd
commit 1dde12fb00
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2005-03-10 Manish Singh <yosh@gimp.org>
* plug-ins/uri/url-backend-wget.c: force the server-response wget
option off so it doesn't screw up our parsing.
2005-03-09 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* app/tools/gimprectangletool.c: lots of code for dealing

View File

@ -98,7 +98,8 @@ uri_backend_load_image (const gchar *uri,
putenv ("LANG=C");
#endif
execlp ("wget", "wget", "-T", TIMEOUT, uri, "-O", tmpname, NULL);
execlp ("wget", "wget", "e", "server-response=off", "-T", TIMEOUT,
uri, "-O", tmpname, NULL);
g_set_error (error, 0, 0, "exec() failed: wget: %s", g_strerror (errno));
_exit (127);
}