You are here: Foswiki>Tasks Web>Item13902 (12 Apr 2016, GeorgeClark)Edit Attach

Item13902: Path (/) is not permitted ...

pencil
Priority: Low
Current State: No Action Required
Released In: n/a
Target Release: n/a
Applies To: Engine
Component: Configure
Branches:
Reported By: JozefMojzis
Waiting For:
Last Change By: GeorgeClark

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
 

ItemTemplate edit

Summary Path (/) is not permitted ...
ReportedBy JozefMojzis
Codebase trunk
SVN Range
AppliesTo Engine
Component Configure
Priority Low
CurrentState No Action Required
WaitingFor
Checkins
TargetRelease n/a
ReleasedIn n/a
CheckinsOnBranches
trunkCheckins
masterCheckins
ItemBranchCheckins
Release02x01Checkins
Release02x00Checkins
Release01x01Checkins
Topic revision: r3 - 12 Apr 2016, GeorgeClark
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy