Age | Commit message (Collapse) | Author | |
---|---|---|---|
2011-01-05 | use cgitemplate, remove misctemplate | Joey Hess | |
2010-02-12 | add section information | Joey Hess | |
2009-12-14 | 404/goto: Fix 404 display of utf-8 pages. | Joey Hess | |
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. | |||
2009-08-08 | verify page name is sane | Joey Hess | |
paranoia; I was thinking about XSS attacks specificaly | |||
2009-08-08 | fix misleading comment | Joey Hess | |
2009-07-27 | getsource: remove temporary variable | Simon McVittie | |
2009-07-26 | getsource: remove unnecessary IkiWiki:: prefixes | Simon McVittie | |
Many variables and functions are exported. | |||
2009-07-26 | getsource: don't allow getting the source of an attachment | Simon McVittie | |
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). | |||
2009-07-26 | getsource: turn missing pages into a 404 | Simon McVittie | |
Also restructure so we return early on missing pages. | |||
2009-07-26 | getsource: default to saying page source is in UTF-8, and make the example ↵ | Simon McVittie | |
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. | |||
2009-07-26 | getsource: run as plain CGI, rather than sessioncgi | Simon McVittie | |
As I suggested when reviewing Will's code, calling loadindex() should be sufficient. | |||
2009-07-26 | Add getsource plugin | Will Uther | |