SA Bugzilla – Bug 147
Improvments for dealing with BASE hrefs
Last modified: 2002-06-15 03:58:08 UTC
I've made several improvements to the code for pre-pending the BASE hrefs to non-absolute URIs: - Standards compliant HTML renderers ignore BASE hrefs which aren't absolute, or which have non-standard protocols; this has been dealt with. - A base href can have a filename in it. For example, it could be "http://foo.com/index.html"; it now attempts to strip of trailing filenames from base hrefs. - SA extracts URIs which aren't in an HTML tag and which have no protocol, like "www.foo.com/hello_world.html". Rather than pre-pend the base href to these URIs, they should simply be pre-pended with the appriate protocol.
Created attachment 24 [details] Some improvements to handling BASE hrefs
Checked into CVS.