Escape dots at the start of pathname components. (Mostly for HTML
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Wed, 13 Apr 2011 18:23:05 +0000 (18:23 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Wed, 13 Apr 2011 18:23:05 +0000 (18:23 +0000)
commit1d3a7ff684c36162124901504e62a4c6d48ead2f
tree2c41cc4e0a88bf95afd6b8f3e5a0a67b75a2016b
parentc47f39de1c2de25aa70a5f3040c531e6589420cf
Escape dots at the start of pathname components. (Mostly for HTML
multifile output mode, but I think it's at worst harmless to leave it
enabled in web server contexts too.)

Also I've just realised that if you type in a URL and guess wrongly
which characters agedu will have quoted, the parse function will work
it out anyway and give you a redirect to the canonical version of the
path. This was more or less accidental - an unanticipated consequence
of my parse-reformat-redirect strategy - but it seems thoroughly
useful. Add a comment pretending I meant to do it all along :-)

git-svn-id: svn://svn.tartarus.org/sgt/agedu@9153 cda61777-01e9-0310-a592-d414129be87e
html.c
html.h