Item11598: Foswiki::Func::getScriptUrlPath and Foswiki::Func::getScriptUrl return the fully qualified http://host url
Priority: Normal
Current State: Proposal Required
Released In: n/a
Target Release: major
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