Tags:
create new tag
, view all tags

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

TWiki version: TWikiRelease04x02x00
TWiki plugins: ActionTrackerPlugin?
Server OS: Linux 2.6.24.4
Web server: Apache/1.3.34
Perl version: 5.8.8
Client OS: WinXP?
Web Browser: Firefox 2.0.0.14
Categories: Plugins, Mail

-- JimCrum - 30 Apr 2008

Answer

ALERT! If you answer a question - or have a question you asked answered by someone - please remember to edit the page and set the status to answered. The status is in a drop-down list 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

 
Change status to:
Topic revision: r6 - 12 May 2008 - 06:17:47 - GrantTraynor
 
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback