bug-wget
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-wget] Bug in processing url query arguments that have '/'


From: Tony Lewis
Subject: Re: [Bug-wget] Bug in processing url query arguments that have '/'
Date: Wed, 10 Aug 2011 09:01:40 -0700

Ángel González wrote:

> Maybe not. Consider a url like:
> http://www.example.net/download.php?file=releases/wget.exe
>
> In that case using as filename wget.exe makes more sense than
> address@hidden
> Whereas there are other cases where the basename is preferible.
> Probably all examples of a url with a slash in the query string are a
> bit contrived.

I don't think we should cater wget's behavior to contrived examples that
seem to make sense. If wget is following its own internal rules, the file
should be saved as address@hidden

There is an option to allow the server to designate a more reasonable name
through content disposition.

Tony




reply via email to

[Prev in Thread] Current Thread [Next in Thread]