You are here: Foswiki>Tasks Web>Item1959 (12 Jul 2010, AndrewJones)Edit Attach

Item1959: Broken links result when InterWiki shortcut

pencil
Priority: Normal
Current State: No Action Required
Released In:
Target Release: n/a
Applies To: Extension
Component: InterwikiPlugin
Branches:
Reported By: VickiBrown
Waiting For:
Last Change By: AndrewJones
I'm calling this an Engine bug because TWiki is rendering something it should be leaving alone.

Broken links result when Interwiki shortcut conflicts with topic name

Example:

We have an Interwiki shortcut, CMR defined as
http://cm.ops/requests.php?action=viewrequest&cmr_id=$page

The user also has a topic named CMR in his web.

Use of the following Interwiki code
CMR:214258

resulted in a broken link, in which one a href is embedded in another a href and TWiki attempted to link part of the Interwiki result to the named topic.

<a href="http://cm.ops/requests.php?action=viewrequest&cmr_id=214258" title="CM.ops  <a href="/view/Abuse/CMR" class="twikiLink">CMRs</a>" class="interwikiLink">CMR:214258</a>  


Reassigning to InterwikiPlugin, because it ought to escape what it has done to prevent further application of the rendering rules.

Confirmed.

-- CrawfordCurrie - 16 Dec 2009

This has been fixed, but not sure when.

-- AndrewJones - 12 Jul 2010

ItemTemplate edit

Summary Broken links result when InterWiki shortcut
ReportedBy VickiBrown
Codebase
SVN Range Foswiki-1.0.0, Thu, 08 Jan 2009, build 1878
AppliesTo Extension
Component InterwikiPlugin
Priority Normal
CurrentState No Action Required
WaitingFor
Checkins distro:2a93f82b7868 distro:7bf7212261c1
TargetRelease n/a
ReleasedIn
Topic revision: r3 - 12 Jul 2010, AndrewJones
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy