You are here: Foswiki>Tasks Web>Item11446 (11 Apr 2012, GeorgeClark)Edit Attach

Item11446: The rest script needs better endPoint handling

pencil
Priority: Normal
Current State: Closed
Released In: 1.1.5
Target Release: patch
Applies To: Engine
Component: FoswikiUIRest
Branches: Release01x01 trunk
Reported By: GeorgeClark
Waiting For:
Last Change By: GeorgeClark
The REST script implements an endPoint parameter to redirect to another topic

If the endPoint includes an anchor, it's encoded and results in a failed redirect to a missing topic.

It should validate that the Web and Topic names are valid, but not sure if it should require that they exist - the rest handler might create the target. Maybe we need a validate_endpoint option in the options hash.

-- GeorgeClark - 16 Jan 2012

 

ItemTemplate edit

Summary The rest script needs better endPoint handling
ReportedBy GeorgeClark
Codebase 1.1.4, trunk
SVN Range
AppliesTo Engine
Component FoswikiUIRest
Priority Normal
CurrentState Closed
WaitingFor
Checkins distro:061dfe553fc5 distro:8cee11593a03
TargetRelease patch
ReleasedIn 1.1.5
CheckinsOnBranches Release01x01 trunk
trunkCheckins distro:061dfe553fc5
Release01x01Checkins distro:8cee11593a03
Topic revision: r6 - 11 Apr 2012, 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