Age | Commit message (Collapse) | Author |
|
|
|
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.
|
|
paranoia; I was thinking about XSS attacks specificaly
|
|
|
|
|
|
Many variables and functions are exported.
|
|
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).
|
|
Also restructure so we return early on missing pages.
|
|
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.
|
|
As I suggested when reviewing Will's code, calling loadindex() should be
sufficient.
|
|
|