avoid adding ./ to urls unnecessarily
authorJoey Hess <joey@kodama.kitenet.net>
Thu, 20 Nov 2008 17:55:57 +0000 (12:55 -0500)
committerJoey Hess <joey@kodama.kitenet.net>
Thu, 20 Nov 2008 17:55:57 +0000 (12:55 -0500)
commitdca6c835fe2e97331751e1cdedf1dbf0009309ef
tree663cba89e12d9f7cc7d48c52e79b4f384bbe4059
parent17659599f3ea76c3c2e88de625e40265a20a93d7
avoid adding ./ to urls unnecessarily

This avoids constructing urls like "./../foo/".
The leading "../" avoids any colon confusion already.

I noticed in my logs that certain badly written web spiders (hello again,
Yahoo!) fail to follow urls like ikiwiki was constructing to the right
place (instead ending up at "./foo/")
IkiWiki.pm