cross
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>Item318 (08 Jan 2009, KwangErnLiew)Edit Attach

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

pencil
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 - This page was cached on 26 May 2018 - 00:10.

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