Question
I am having a problem with malformed links in the email message received from actionnotify in release 4.2. I don't see these problems on my 4.1 version of TWiki. The URL links in the email message look like
http://www.wikioraapps.comhttp://www.wikioraapps.com/twiki420/bin/view.pl/Main/
....
where the initial
http://www.wikioraapps.com
is doubled up.
This happens on the target icon link to the action, the assigned to, and the edit link. The path to the actual target.gif in
TWikiDocGraphics is not affected.
Further note: I don't think it is a configure issue because mailnotify is working great!
Environment
--
JimCrum - 30 Apr 2008
Answer
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.
Take a look at
SpaceAddedToIconUrlPath and
LeftBarBug
--
EnriqueCadalso - 30 Apr 2008
Thanks Enrique for your prompt reply. However, I don't think the WYSIWYG editor is the problem. I am an old school kind of guy and WYSIWYG has never been used on these topics preference topics. The timestamps on the files in question indicate they are from the original build for 4.2. I will leave the question as asked for now.
--
JimCrum - 01 May 2008
I also had/have this problem. I am temporarily getting around it by commenting out a few lines in lib\TWiki\Plugins\ActionTrackerPlugin\ActionNotify.pm, about line 380 as follows:
$text =~ s/
]>/[IMG]/goi; # remove all images
# add the url host to any in-twiki urls that lack it
#
# START GKT CHANGES
# These aren't required, and in fact break, the windows install
#
#my $sup = TWiki::Func::getScriptUrlPath();
#$sup =~ s#/$##;
#my $sun = TWiki::Func::getUrlHost() . $sup;
#$text =~ s#href=\"$sup/#href=\"$sun/#ogi;
#$text =~ s/<\/?nop( \/)?>//goi;
#
# END GKT CHANGE
--
GrantTraynor - 09 May 2008
The lines
are in fact required, as they rewrite relative urls to absolute.
TWikibug:Item5607
was the relevant report for this, BTW, and was fixed recently. Update your version from
ActionTrackerPlugin.
--
CrawfordCurrie - 10 May 2008
OK. Thanks very much for the insight and help.
--
GrantTraynor - 12 May 2008