Foswiki::Func::getScriptUrlPath() API | Priority: | CurrentState: | AppliesTo: | Component: | WaitingFor: |
|---|---|---|---|---|
| Enhancement | Closed | Engine | FoswikiFunc | PaulHarvey |
my $path = Foswiki::Func::getScriptUrl('web', 'topic', 'view');
$path =~ s/^\w+:\/\/.*?\//g;
AddFoswikiFuncGetScriptUrlPath
-- PaulHarvey - 17 Dec 2011
See also: Item1931. Crawford, in that task you said getScriptUrlPath() was buggy and didn't support the $Foswiki::cfg{ScriptUrlPaths} switchboard thing - I think I've made it acceptable (to me at least). Any comments?
-- PaulHarvey - 17 Dec 2011
http://trunk.foswiki.org/System/PerlDoc?module=Foswiki::Func#getScriptUrlPath_40_36web_44_36topic_44_36script_44_..._41_45_62_36path
-- PaulHarvey - 17 Dec 2011
Well, from inspecting the code history it looks like that comment on Func::getScriptUrlPath is now wrong - AFAICT {ScriptUrlPaths} do apply to URLs generated this way - so I guess my objection is raised.
-- CrawfordCurrie - 17 Dec 2011
Ok. I'll merge into Release01x01 once 1.1.4 is released properly.
-- PaulHarvey - 17 Dec 2011
Forgot to bump Foswiki::Plugins::VERSION. Bumped to 2.2.
-- PaulHarvey - 31 Jan 2012
| Summary | Un-deprecate, improve Foswiki::Func::getScriptUrlPath() API |
| ReportedBy | PaulHarvey |
| Codebase | 1.1.4, trunk |
| SVN Range | |
| AppliesTo | Engine |
| Component | FoswikiFunc |
| Priority | Enhancement |
| CurrentState | Closed |
| WaitingFor | PaulHarvey |
| Checkins | Foswikirev:13449 Foswikirev:13450 Foswikirev:13634 Foswikirev:13636 Foswikirev:13637 Foswikirev:13638 Foswikirev:13639 Foswikirev:13724 Foswikirev:13873 Foswikirev:13874 |
| TargetRelease | patch |
| ReleasedIn | 1.1.5 |
| CheckinsOnBranches | Release01x01 trunk |
| trunkCheckins | Foswikirev:13634 Foswikirev:13874 |
| Release01x01Checkins | Foswikirev:13449 Foswikirev:13450 Foswikirev:13636 Foswikirev:13637 Foswikirev:13638 Foswikirev:13639 Foswikirev:13724 Foswikirev:13873 |
