aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin/getsource.pm
Commit message (Expand)AuthorAge
* use cgitemplate, remove misctemplateJoey Hess2011-01-05
* add section informationJoey Hess2010-02-12
* 404/goto: Fix 404 display of utf-8 pages.•••Problem here was that no charset http header was being sent. I fixed this globally by making cgi_custom_failure send the header. Required changing its parameters. Joey Hess2009-12-14
* verify page name is sane•••paranoia; I was thinking about XSS attacks specificaly Joey Hess2009-08-08
* fix misleading commentJoey Hess2009-08-08
* getsource: remove temporary variableSimon McVittie2009-07-27
* getsource: remove unnecessary IkiWiki:: prefixes•••Many variables and functions are exported. Simon McVittie2009-07-26
* getsource: don't allow getting the source of an attachment•••Serving up images etc. as text/plain; charset=utf-8 is unlikely to work very well, and there's no point in having this CGI action for attachments (since they're copied into the output as-is anyway). Simon McVittie2009-07-26
* getsource: turn missing pages into a 404•••Also restructure so we return early on missing pages. Simon McVittie2009-07-26
* getsource: default to saying page source is in UTF-8, and make the example ma...•••IkiWiki mostly assumes that pages are in UTF-8; anyone this doesn't work for can override it in the setup file. Simon McVittie2009-07-26
* getsource: run as plain CGI, rather than sessioncgi•••As I suggested when reviewing Will's code, calling loadindex() should be sufficient. Simon McVittie2009-07-26
* Add getsource pluginWill Uther2009-07-26