Symptom: emails from actionnotify have a double "http://..." in them (globally).
Reason:
ActionTrackerPlugin is using the deprecated "getScriptUrlPath" on line 381 of "ActionNotify.pm"
Before we knew this was deprecated, we fixed it by...
[root@kopc1946 ActionTrackerPlugin]# diff ActionNotify.pm ../../../../installed_plugins/tmp/lib/TWiki/Plugins/ActionTrackerPlugin/ActionNotify.pm
382d381
< my $sun = TWiki::Func::getUrlHost();
384,385c383
< $sup =~ s/$sun//ogi;
< $sun .= $sup;
---
> my $sun = TWiki::Func::getUrlHost() . $sup;
I am not sure, but I think the proper function to use (now) is getScriptUrl()
--
TWiki:Main/PeterStephens 06 May 2008
This idea was to
detect urls that have been made using the old function, which is why it was used. I need to take a closer look at this.
The problem is that
getScriptUrlPath
is not performing to spec - it is returning an absolute URL, rather than the relative URL promised in the doc.
Fixed by sidestepping
TWiki::Func
and going direct to the config.
--
CrawfordCurrie - 07 May 2008