Am Monday 08 April 2013 schrieb Olivier Diotte: > On Mon, Apr 8, 2013 at 3:05 PM, Tim Rühsen <[email protected]> wrote: > > Am Montag, 8. April 2013 schrieb Olivier Diotte: > >> Hi Giuseppe, > >> > >> On Sat, Apr 6, 2013 at 4:22 PM, Giuseppe Scrivano <[email protected]> wrote: > >> > Hi Oliver, > >> > > >> > Olivier Diotte <[email protected]> writes: > >> >> The commands used are: > >> >> wget --save-cookies cookies.txt --keep-session-cookies --post-data > >> >> 'username=root&password=' http://172.16.1.1/cgi-bin/luci/ > >> >> wget --load-cookies cookies.txt -m -r > >> >> 'http://172.16.1.1/cgi- > > > > bin/luci/;stok=b5cb51685f39a8cdc67bf6e1e4871143/admin/status/iptables/' > > > >> >> Here is an example of a tag that isn't followed: > >> >> <a style="display:block;padding-left:25px;" > >> >> href="/cgi- > > > > bin/luci/;stok=b5cb51685f39a8cdc67bf6e1e4871143/admin/status/routes/">Rou > > tes</a> > > > >> > I couldn't reproduce it by faking a page with that a href you have > >> > included. > >> > > >> > Can you also pass -d to wget and attach the log? > >> > > >> > Have you already tried with a newer version of wget too? > >> > >> Attached is the log of a freshly compiled wget-1.14 > >> (http://ftp.gnu.org/gnu/wget/wget-1.14.tar.xz) > >> The problem remains. > > > > Hi Oliver, > > > > in the log I can't find your mentioned ".../admin/status/routes/" link. > > > > That means, Wget's parser didn't find it. > > To find out if this is a bug in Wget or in the HTML structure, please > > attach the HTML file that contains that href/link. > > > > Regards, Tim > > Hi Tim, > > Attached is the file requested. I also just noticed that the second > run (that is the --load-cookies wget invocation) exits with a return > status of 8. > > Regard, > Olivier
Hi Olivier, in your original post you said: Here is an example of a tag that isn't followed: <a style="display:block;padding-left:25px;" href="/cgi- bin/luci/;stok=b5cb51685f39a8cdc67bf6e1e4871143/admin/status/routes/">Routes</a> what we need here is the HTML file where your example is referred from. I am not able to find that in your attached index.html. Regards, Tim
