Edgewall Software
Modify

Opened 11 years ago

Last modified 15 months ago

#11576 new defect

Cut and paste of external links leads to zero-width character in string

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 (last modified by Ryan J Ollos)

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

For example when copying from page 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

Attachments (0)

Change History (6)

comment:1 by Ryan J Ollos, 11 years ago

Cc: Ryan J Ollos added
Milestone: next-stable-1.0.x

comment:2:ticket:11351 may be related as well. I guess maybe we need to come up with a solution different from stripping ZWSPs everywhere they are taken as form or macro input.

comment:2 by Ryan J Ollos, 10 years ago

Description: modified (diff)

comment:3 by Ryan J Ollos, 9 years ago

#12245 closed as a duplicate.

Last edited 9 years ago by Ryan J Ollos (previous) (diff)

comment:4 by Ryan J Ollos, 8 years ago

Milestone: next-stable-1.0.xnext-stable-1.2.x

Moved ticket assigned to next-stable-1.0.x since maintenance of 1.0.x is coming to a close. Please move the ticket back if it's critical to fix on 1.0.x.

comment:5 by Ryan J Ollos, 5 years ago

Milestone: next-stable-1.2.xnext-stable-1.4.x

comment:6 by Ryan J Ollos, 15 months ago

Milestone: next-stable-1.4.xnext-stable-1.6.x

Milestone renamed

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The ticket will remain with no owner.
The ticket will be disowned.
as The resolution will be set. Next status will be 'closed'.
The owner will be changed from (none) to anonymous. Next status will be 'assigned'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.