Hi Mauro, I confirm the subversion version of wget, as of 2006-01-04, fixes the issue. It looks like it was fixed in url.c, on February 28 2006. I'm looking forward to the next release.
Thanks, Sylvain Garrigues. Mauro Tortonesi wrote: > Sylvain Garrigues wrote: >> Hello, >> >> I just had a problem with a badly written web site where relative links >> where going beyond the root folder. >> >> As an example, wget www.somesite.org/../index.html fails with a 400 >> error, while links and firefox actually get the index page. >> >> Could there be an option to parse and strip URL before trying to fetch them? >> >> I am using >> # wget --version >> GNU Wget 1.10.2 >> >> and >> >> # uname -sr >> Linux 2.6.19.1 >> >> Wget has been compiled with ssl and nls support, that's all. >> >> Best regards, >> Sylvain Garrigues. > > hi sylvain, > > could you please try the current version of wget from our subversion > repository: > > http://www.gnu.org/software/wget/wgetdev.html#development > > ? > > this bug should be fixed in the new code. >
