Item13902: Path (/) is not permitted ...
Priority: Low
Current State: No Action Required
Released In: n/a
Target Release: n/a
Applies To: Engine
Component: Configure
Branches:
Repo
- let the
{DefaultUrlHost}
is set to http://localhost:8080
- in configure change the
{DefaultUrlHost}
to
-
http://localhost:8080/
(with trailing slash)
- it says: Path (/) is not permitted in http://localhost:8080/
- but allows to save it
- the next reload shows the saved
http://localhost:8080/
- the Foswiki works ok (at least seems to work ok)
If the trailing slash isn't permitted
- the configure should not allow to save it
- or should silently remove the trailing slash
- or something like
But, the trailing slash is pretty common thing, especially when someone set it by the command line
tools/configure
, so it should be allowed.
--
JozefMojzis - 23 Dec 2015
It may work okay, but you are probably getting a double-slash in the generated URLs. The fields {DefaultUrlHost} and {ScriptUrlPath} are concatenated. The former should never end in a slash, the latter starts with a slash.
Configure currently does not refuse to save when errors are detected. Some can't necessarily be fixed in configure but report errors external to foswiki. we'd have to differentiate between the two types of errors, or it could lock out configure.
--
GeorgeClark - 23 Dec 2015
Setting this task to No Action Required. It's all working as intended.
--
GeorgeClark - 12 Apr 2016