Á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 > download.php@file=releases%2Fwget.exe > 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 download.php@file=releases%2Fwget.exe. There is an option to allow the server to designate a more reasonable name through content disposition. Tony
