Hi,

This may be known bug. but nevertheless. All info is from html docs.

I think releative urls are handled incorrectly. i.e. urls containing
'../' are not converted properly and are leaved as it is, resulting in
urls like http://site/../path1/text.html, or even worse it creates loops
http://site/../../path1/text.html
http://site/../../../path1/text.html
http://site/../../../../path1/text.html
etc.

exmaple of proper behavior:

current url: http://site/index.html
relative: ../blabla/t.html
resulting: nothing,   because document goes out of root.

current url: http://site/path1/index.html
relative: ../blabla/t.html
resulting: http://site/blabla/t.html

and thereis more, about that base url, there are three ways to set the
base url:
1) within http headers(rarely used, if ever. don't ask me, refer to
docs) somewhat similar to 2)
2) within <head>...</head> tags in document as <base url="blabla">
3) base url = current document url

Precedence goes in that order, i.e. if one succeds, other should be
ommited,  2) and 3) should be implemented.


Bye

VAldas



------------------------------------
To unsubscribe from the htdig3-dev mailing list, send a message to
[EMAIL PROTECTED] 
You will receive a message to confirm this. 


Reply via email to