You are here: Foswiki>Tasks Web>Item8928 (17 Mar 2011, GeorgeClark)Edit Attach

Item8928: Illegal character in topic name causes quiet not-quite-redirect to WebHome

pencil
Priority: Normal
Current State: Confirmed
Released In: n/a
Target Release: n/a
Applies To: Engine
Component: UrlHandling
Branches:
Reported By: MichaelTempest
Waiting For:
Last Change By: GeorgeClark
Foswiki changes the topic name to $Foswiki::cfg{HomeTopicName} if the topic name contains any illegal characters (detected via Foswiki::isValidTopicName). The topic shown is therefore WebHome, but the URL remains the same. This is confusing.

A broken link like http://trunk.foswiki.org/Tasks/Item8891; (note the semicolon) should rather redirect to the "topic does not exist" page, and strip out illegal characters prior to the search for similar topic names.

-- MichaelTempest - 19 Apr 2010

 

ItemTemplate edit

Summary Illegal character in topic name causes quiet not-quite-redirect to WebHome
ReportedBy MichaelTempest
Codebase trunk
SVN Range
AppliesTo Engine
Component UrlHandling
Priority Normal
CurrentState Confirmed
WaitingFor
Checkins
TargetRelease n/a
ReleasedIn n/a
Topic revision: r2 - 17 Mar 2011, 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