incorrect href mapping (file://)
step- opened this issue · 1 comments
step- commented
Hello again,
with the same debug report in #507, this line
DEBUG: Mapping "file:///usr/share/doc/faqs/faq.html" to "http://distro.ibiblio.org:80/fatdog/web/file:///usr/share/doc/faqs/faq.html"...
shows that html doc maps a file://
protocol to the http://
protocol. Certainly this shouldn't be the case.
I think that if the href
value starts with a protocol component htmldoc should not map the value at all. Would you agree?
michaelrsweet commented
Relative URLs use the base URL, either the one in the HTML sources or from the input URL/filename.