aboutsummaryrefslogtreecommitdiff
path: root/doc/bugs/ikiwiki_ignores_PATH_environment.mdwn
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2010-09-07 13:47:50 -0400
committerJoey Hess <joey@kitenet.net>2010-09-07 13:47:50 -0400
commit5c6c0813ca8dff8c42ac32ed9702568228f8407b (patch)
tree1c738d28466ffa81e5963937f76075486a127a1a /doc/bugs/ikiwiki_ignores_PATH_environment.mdwn
parentb3aadbf0bdb67fea1e9944dfa562f1ac020c16ea (diff)
downloadikiwiki-5c6c0813ca8dff8c42ac32ed9702568228f8407b.tar
ikiwiki-5c6c0813ca8dff8c42ac32ed9702568228f8407b.tar.gz
Remove PATH overriding code in ikiwiki script that was present to make perl taint checking happy, but taint checking is disabled.
Diffstat (limited to 'doc/bugs/ikiwiki_ignores_PATH_environment.mdwn')
-rw-r--r--doc/bugs/ikiwiki_ignores_PATH_environment.mdwn9
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/bugs/ikiwiki_ignores_PATH_environment.mdwn b/doc/bugs/ikiwiki_ignores_PATH_environment.mdwn
index 63ac4bc31..5097acaef 100644
--- a/doc/bugs/ikiwiki_ignores_PATH_environment.mdwn
+++ b/doc/bugs/ikiwiki_ignores_PATH_environment.mdwn
@@ -7,3 +7,12 @@ This makes it a little hard to specify which specific binaries should be used, e
$ENV{PATH}="$ENV{PATH}:/usr/local/bin:/usr/bin:/bin:/opt/local/bin";
? The alternative is of course to patch ikiwiki as suggested in the bug, but I wanted to ask here first :)
+
+> You can use the ENV setting in your setup file to set any environment
+> variables you like. Since ikiwiki.cgi is run by the web browser, that
+> is the best way to ensure ikiwiki always runs with a given variable set.
+>
+> As a suid program, the ikiwiki wrappers have to sanitize the environment.
+> The ikiwiki script's own sanitization of PATH was done to make perl taint
+> checking happy, but as taint checking is disabled anyway, I have removed
+> that. [[done]] --[[Joey]]