Hallo ikiwiki-team!
I would like to setup ikwiki with AsciiDoc. So far I was able to install the asciidoc.pm plugin and got it to run. However when saving a page of Page type Asciidoc I encounter the error:
asciidoc: ERROR: unsafe: ifeval invalid asciidoc: FAILED: ifeval invalid safe document
This also happens when I afterwards open that page with asciidoc markup. It seems to me that this is a rendering problem!?
Installed on Debian Jessie with ikiwiki version 3.20141016.4
What can I do to make it work?
Cheers!
Dennis
The AsciiDoc plugin is not part of ikiwiki, and none of the ikiwiki maintainers develop or use it. You might get better results by contacting its authors, or by reading its source code or the source code of the third-party libraries or tools that it uses.
Searching for the error message is probably a good starting point for understanding what is happening here.
I suspect that what is happening might be that the plugin puts asciidoc into some sort of "safe mode" so that wiki editors cannot cause arbitrary code execution, but you are making use of asciidoc features that can execute arbitrary code, which the asciidoc implementation forbids.
In general, ikiwiki plugins are expected to arrange for filtering or configuration to be carried out so that the ability to edit the wiki does not give an attacker the ability to execute arbitrary code on the server.