Foswiki on GitHub is open for business! Next release meeting: Monday October 13, 1300Z

Item11446: The rest script needs better endPoint handling

Priority: CurrentState: AppliesTo: Component: WaitingFor:
Normal Closed Engine FoswikiUIRest  
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
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 CopyrightStatement. Creative Commons License