Edgewall Software

Opened 10 years ago

Last modified 7 months ago

#11576 new defect

Cut and paste of external links leads to zero-width character in string — at Initial Version

Reported by: vladmihaisima@… Owned by:
Priority: normal Milestone: next-stable-1.6.x
Component: general Version: 1.0
Severity: normal Keywords: link unicode
Cc: vladmihaisima@…, Ryan J Ollos Branch:
Release Notes:
API Changes:
Internal Changes:

Description

When copy pasting text which includes an external link a zero width character is introduced in the text.

For example when copying from page http://trac.edgewall.org/wiki/WikiFormatting the lines in the "Links" row of the table (more specifically, the first sub-line) the Unicode character \u200b is introduced between the text in the first column and the text in the second.

This caused problems in Firefox 26.0 (Firefox 25.0 was working), when the link was: "git clone ssh://user@host/project" and my guess is that it can cause unnecessary frustration (not that I am aware of the problem, I can escape the links, but I did not know that previously and, even worse, it used to work).

Personally, if the only reason for the zero-width character is the icon, I would be perfectly fine without the icon.

This bug is related (but not identical with): #10668, #10865 and might have been a cause of #9529 (maybe a pasted link reached timeline)

For anybody wishing to patch their trac code is at source:tags/trac-1.0/trac/wiki/formatter.py#L710

Change History (0)

Note: See TracTickets for help on using tickets.