Package: wget Version: 1.10.2-3 Severity: minor The -k flag to wget mishandles the code for hyperlinks.
Let's say that the web page http://foo.com/bar/index.html contains a hyperlink to http://foo.com/bar/baz.html. The html code for this hyperlink would be: http://foo.com/bar/baz.html>display text Now, the command wget -h -k foo.com/bar/ downloads both pages and *should* change the code of the hyperlink to the following: <a href=baz.html>display text</a> Instead, the closing tag is removed leaving only <a href=baz.html>display text If there is any text following the display text, it is also included as part of the hyperlink. This is mainly a cosmetic issue as the text is still displayed, but it is certainly not desirable. It should be fairly straightforward to correct the script to prevent the closing tag from being removed.

