W3C home > Mailing lists > Public > www-lib@w3.org > July to September 1999

URL misses '/'

From: Vaclav Barta <vbar@comp.cz>
Date: Sat, 10 Jul 1999 15:01:21 +0000
Message-ID: <37876041.47271247@comp.cz>
To: wwwlib <www-lib@w3.org>

When I call HTLoadAbsolute on "http://localhost", my link callback
is called for all links on http://localhost/index.html - as
I'd expect. But when I call HTAnchor_followMainLink on a passed-in
anchor (like libwww robot does it), I get wrong URL - it misses
the separator between parent URL and relative name in the page.
I. e. <a href=php/>php</a> in http://localhost/index.html gets
mangled into http://localhostphp/ . This happens whether I have
redirection filter installed or not, on a new snapshot of libwww.
Any ideas?

I have a web spider, too!
Received on Saturday, 10 July 1999 12:35:09 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:33:51 UTC