[links] Re: some relative URLs are incorrect when hostname is followed by query part

Karel Kulhavý <[email protected]> Wed, 18 Aug 2004 20:50:11 +0000
Newsgroups gmane.comp.web.links.list
Message-ID <[email protected]>
On Tue, Aug 17, 2004 at 02:28:19PM +0000, Daniel Biddle wrote:
> I am using Links 2.1pre15, in graphical mode with JavaScript disabled.
> 
> When viewing pages such as <http://support.microsoft.com?kbid=822071> (no slash
> between hostname and query part), some images do not display and some relative
> URLs are missing the last letter of the hostname, such as:
> 
> http://support.microsoft.co/isapi/gosearch.asp?target=/us/default.asp
> http://support.microsoft.co/common/international.aspx
> http://support.microsoft.coJavascript:PrintContents();
> 
> When accessed at <http://support.microsoft.com/?kbid=822071> (slash added after
> hostname), the images and links on the page work as expected. (The Javascript
> link doesn't work, but I've disabled javascript support.)
> 
> I found the link to that page at
> <http://support.microsoft.com/default.aspx?scid=kb;EN-US;811113>.
> 
> I can easily work around this by using G or ^G to edit the URL and add the slash.

The code of the page is obviously braindead:
[...]om$|.xbox.com$|.microsoft.com$|.microsoft.cz$|.msbpn.com$|.microsoft.co.*", "i");[...]
                                                                        ^^^^^
                      
I don't think this is an error of Links. Do you still think it is?

Cl<
> 
> -- 
> Daniel Biddle (deltab)
_______________________________________________
Links-list mailing list
[email protected]
http://linuxfromscratch.org/mailman/listinfo/links-list