Item318: if you have a trailing / on your url, foswiki assumes all preceeding parts of the URL are webnames

Priority: Urgent
Current State: Closed
Released In: 1.0.0
Target Release: patch
Applies To: Engine
Component:
Branches:
Reported By: Foswiki:Main.SvenDowideit
Waiting For:
Last Change By: KwangErnLiew
eg

http://trunk.foswiki.org/Main/WikiGroups/ tries and fails to goto Main/WikiGroups.WebHome, which is clearly not useful.

this also breaks viewfile - and shows in my new unit tests.

MUST write unit tests for url parsing.

-- SvenDowideit - 27 Nov 2008

thought it is useful that http://trunk.foswiki.org/Main/WikiGroups/ goes to http://trunk.foswiki.org/Main/WikiGroups/WebHome if Main.WikiGroups were to exist.

-- WillNorris - 27 Nov 2008

if

I fixed this in a commit to Item5967, but still need to write unit tests for it..

lots of unit tests written, more would be better of course smile

-- SvenDowideit - 12 Dec 2008

ItemTemplate edit

Summary if you have a trailing / on your url, foswiki assumes all preceeding parts of the URL are webnames
ReportedBy Foswiki:Main.SvenDowideit
Codebase trunk
SVN Range SVN 986: Foswiki-0.9.0, Wed, 26 Nov 2008, build 974
AppliesTo Engine
Component
Priority Urgent
CurrentState Closed
WaitingFor
Checkins distro:0fd82ded4f51 distro:492a04f04636 distro:afeb1c04478a distro:7f2c7e36afdd distro:232d292a14df
TargetRelease patch
ReleasedIn 1.0.0
Topic revision: r11 - 08 Jan 2009, KwangErnLiew
 
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. see CopyrightStatement. Creative Commons License