Fixed a potential security problem with the page. All filenames passed as the "doc" parameter must end in ".txt" and may not contain any other dots, for example "../", but sensible web servers should restrict the wwwuser as a matter of caution, anyway. Furthermore, only normal characters are allowed in the filename - see the regexp on line 36 to see what these are. This was to combat malicious users potentially inserting a ";" or other character in the HTTP querystring, however, most implementations of perl CGI readily ignore everything after (and including) the first ";" when a new CGI object is used to return the form variables.
URL's are actually linked now... which is nice :-)
Paul made the printing function better, so we can use tags in our documents.
This cgi/perl script formats a plain text file in the theme of the website. It's intended use is for displaying documentation, and other similar files, formatted according to our documentation specification.
This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, select a symbolic revision name using the selection box, or choose 'Use Text Field' and enter a numeric revision.