You are here: Foswiki>Tasks Web>Item11598 (06 Jul 2015, GeorgeClark)Edit Attach

Item11598: Foswiki::Func::getScriptUrlPath and Foswiki::Func::getScriptUrl return the fully qualified http://host url

pencil
Priority: Normal
Current State: Proposal Required
Released In: n/a
Target Release: major
Applies To: Engine
Component: FoswikiFunc
Branches:
Reported By: SvenDowideit
Waiting For:
Last Change By: GeorgeClark
either because I'm calling a rest script from the command line, or because host was set to http://localhost

either way, needs test, and a little docco though really it'd be nicer to have a consistent way to get the non-host part of the url. (for filtering etc)

-- SvenDowideit - 05 Mar 2012

see Item9193 for a unit test that does this before the session->finish, but not after.

Paul told me that its because I have localhost - not nice.

-- SvenDowideit - 08 Mar 2012

IMO we should change this so that Foswiki::Func::getScriptUrlPath always returns a path without a host, but i'm too scared to do it in a patch release, as its been like this forever.

so pushing off to 1.2.0

-- SvenDowideit - 10 Mar 2012

Deferring to 2.0.

-- GeorgeClark - 29 Dec 2014

This is an API behaviour change. Marking as Proposal Required.

-- GeorgeClark - 13 May 2015
 

ItemTemplate edit

Summary Foswiki::Func::getScriptUrlPath and Foswiki::Func::getScriptUrl return the fully qualified http://host url
ReportedBy SvenDowideit
Codebase 1.1.4, trunk
SVN Range
AppliesTo Engine
Component FoswikiFunc
Priority Normal
CurrentState Proposal Required
WaitingFor
Checkins
TargetRelease major
ReleasedIn n/a
CheckinsOnBranches
trunkCheckins
masterCheckins
ItemBranchCheckins
Release01x01Checkins
Topic revision: r6 - 06 Jul 2015, 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