You are here: Foswiki>Tasks Web>Item2507 (17 Dec 2011, GeorgeClark)Edit Attach

Item2507: Some links with full-colons don't render at all

pencil
Priority: Normal
Current State: Closed
Released In: 1.1.4
Target Release: patch
Applies To: Engine
Component: FoswikiRender
Branches:
Reported By: PaulHarvey
Waiting For:
Last Change By: GeorgeClark
Here is some verbatim TML with a URL presented three different ways, where only the first form renders properly via the view script:

[[http://commons.wikimedia.org/wiki/File:Nypa_fruticans_Blanco2.386-cropped.jpg][test]]

[[http://commons.wikimedia.org/wiki/File:Nypa_fruticans_Blanco2.386-cropped.jpg]] 

http://commons.wikimedia.org/wiki/File:Nypa_fruticans_Blanco2.386-cropped.jpg

These three forms are now repeated below, without verbatim, and the expected behaviour is that the last two forms should be clickable links like the first - but instead nothing (ie. only one clickable link - the first - instead of three):


test

File:Nypa_fruticans_Blanco2.386-cropped.jpg

File:Nypa_fruticans_Blanco2.386-cropped.jpg


Reproduced in:
  • 1.0.7 foswiki.org (just viewing this task should reproduce the fault)
  • 1.0.8 production wiki:
    108 linkprob.png
  • Release01x00 r5795 svn installed:
    release linkprob.png
  • trunk r5795 svn installed:
    trunk linkprob.png

It seems that this has something to do with special handling of the full-colon in the URL. Interwiki plugin?

-- PaulHarvey - 16 Dec 2009

While I don't see the last two links here using Firefox 3.5.x at all (as noted above), I actually do see them (albeit w/o the ':') when looking at the page via the RSS feed using Thunderbird 2.x.

Encoding subsequent colons (i.e., those not belonging to the format specification) doesn't help, either ('%3A' / ':'). But apart from that--shouldn't the third form become an inline image w/o link?

-- MarkusUeberall - 16 Dec 2009

The problem is that the link is not to an image, it's a page about an image (contains HTML).

Added feature proposal that bracketed links are not transformed into images: Development.ChangeImageLinkBehaviour

Lowered to Normal; this is not a new or simple issue, and probably shouldn't block a patch release.

-- PaulHarvey - 29 Dec 2009

This bug has been fixed in Item11189, which in fact was a duplicate of this bug.

Closing.

Also, this bug triggers a very strange behaviour of ImagePlugin, but this deserves a dedicated bug report, which is Item11333.

-- OlivierRaginel - 06 Dec 2011

ItemTemplate edit

Summary Some links with full-colons don't render at all
ReportedBy PaulHarvey
Codebase trunk
SVN Range
AppliesTo Engine
Component FoswikiRender
Priority Normal
CurrentState Closed
WaitingFor
Checkins
TargetRelease patch
ReleasedIn 1.1.4
trunkCheckins
Release01x01Checkins
I Attachment Action Size Date Who Comment
108_linkprob.pngpng 108_linkprob.png manage 31 K 16 Dec 2009 - 00:19 PaulHarvey 1.0.8 production wiki
File:Nypa_fruticans_Blanco2.386-cropped.jpgjpg File:Nypa_fruticans_Blanco2.386-cropped.jpg manage 40 K 06 Dec 2011 - 17:08 GeorgeClark  
release_linkprob.pngpng release_linkprob.png manage 39 K 16 Dec 2009 - 00:19 PaulHarvey Release01x00 r5795 svn installed
trunk_linkprob.pngpng trunk_linkprob.png manage 39 K 16 Dec 2009 - 00:20 PaulHarvey trunk r5795 svn installed
Topic revision: r9 - 17 Dec 2011, GeorgeClark
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