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

Priority: CurrentState: AppliesTo: Component: WaitingFor:
Urgent Closed Engine    
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 Foswikirev:998 Foswikirev:999 Foswikirev:1000 Foswikirev:1001 Foswikirev:1002
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