Symptom: emails from actionnotify have a double "http://..." in them (globally).
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
< my $sun = TWiki::Func::getUrlHost();
< $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()
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
is not performing to spec - it is returning an absolute URL, rather than the relative URL promised in the doc.
Fixed by sidestepping
and going direct to the config.
- 07 May 2008