I have a page where I am putting the text of a bash script. My code block needs to look like this:
<code bash>
if grep -q splash /proc/cmdline; then
/sbin/usplash -c &
sleep 1
fi
</code>
However, when I hit the save button on the page I get this error:
Forbidden
You don't have permission to access /wiki/doku.php on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
When I remove the dash before the c, like this:
<code bash>
if grep -q splash /proc/cmdline; then
/sbin/usplash c &
sleep 1
fi
</code>
the page saves just fine. Does anyone know why this single character would stop the page from saving? It seems very strange to me.