aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin/getsource.pm
Commit message (Collapse)AuthorAge
* use cgitemplate, remove misctemplateJoey Hess2011-01-05
|
* add section informationJoey Hess2010-02-12
|
* 404/goto: Fix 404 display of utf-8 pages.Joey Hess2009-12-14
| | | | | | | 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.
* verify page name is saneJoey Hess2009-08-08
| | | | paranoia; I was thinking about XSS attacks specificaly
* fix misleading commentJoey Hess2009-08-08
|
* getsource: remove temporary variableSimon McVittie2009-07-27
|
* getsource: remove unnecessary IkiWiki:: prefixesSimon McVittie2009-07-26
| | | | Many variables and functions are exported.
* getsource: don't allow getting the source of an attachmentSimon McVittie2009-07-26
| | | | | | 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).
* getsource: turn missing pages into a 404Simon McVittie2009-07-26
| | | | Also restructure so we return early on missing pages.
* getsource: default to saying page source is in UTF-8, and make the example ↵Simon McVittie2009-07-26
| | | | | | | match the default IkiWiki mostly assumes that pages are in UTF-8; anyone this doesn't work for can override it in the setup file.
* getsource: run as plain CGI, rather than sessioncgiSimon McVittie2009-07-26
| | | | | As I suggested when reviewing Will's code, calling loadindex() should be sufficient.
* Add getsource pluginWill Uther2009-07-26