New Foswiki release 2.1.6 is available with important security fixes.
Sourceforge foswiki email lists being discontinued. Subscribe to the new Foswiki announce and discuss lists at MailingLists
You are here: Foswiki>Tasks Web>Item4777 (11 Apr 2012, GeorgeClark)Edit Attach

Item4777: {SafeEnvPath} deserves a decent default

Priority: Low
Current State: Closed
Released In: 1.1.5
Target Release: patch
Applies To: Engine
Component: Configure
Branches: Release01x01 trunk
Reported By: TWiki:Main.HaraldJoerg
Waiting For:
Last Change By: GeorgeClark
With some heuristics it should be possible to provide a reasonable default value for $TWiki::cfg{SaveEnvPath} at least for the "positive" cases (Linux). Having yet another parameter which needs to be configured to get rid of the warning is just annoying, especially in cases where $ENV{PATH} has already been secured by a decent web server configuration.

In any case the current value of $ENV{PATH} should be reported in the section for $TWiki::cfg{SaveEnvPath}, but I have no idea whether the current doc-generating mechanism would allow that. And there should be a checkbox "keep server setting". But that's not even "Low", that's "Enhancement" smile

-- TWiki:Main/HaraldJoerg - 06 Oct 2007

Let's not forget a version of a usable SafeEnvPath that is usable on a mac, too. smile

-- WillNorris - 08 May 2009
Topic revision: r8 - 11 Apr 2012, GeorgeClark - This page was cached on 20 Mar 2018 - 23:05.

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License