simon-svn: agedu: simon

Commits to Tartarus CVS repository. tartarus-commits at lists.tartarus.org
Wed Apr 13 19:23:05 BST 2011


SVN root:       svn://svn.tartarus.org/sgt
Changes by:     simon
Revision:       9153
Date:           2011-04-13 19:23:05 +0100 (Wed, 13 Apr 2011)

Log message (10 lines):
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 :-)

Modified files:
U   agedu/html.c
U   agedu/html.h

Links:
http://svn.tartarus.org/sgt/?rev=9153&view=rev
http://svn.tartarus.org/sgt/agedu/html.c?rev=9153&r1=9152&r2=9153
http://svn.tartarus.org/sgt/agedu/html.h?rev=9153&r1=9152&r2=9153



More information about the tartarus-commits mailing list