Opened 11 years ago
Last modified 14 months ago
#11576 new defect
Cut and paste of external links leads to zero-width character in string
Reported by: | 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 )
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 , 11 years ago
Cc: | added |
---|---|
Milestone: | → next-stable-1.0.x |
comment:2 by , 10 years ago
Description: | modified (diff) |
---|
comment:4 by , 8 years ago
Milestone: | next-stable-1.0.x → next-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 , 5 years ago
Milestone: | next-stable-1.2.x → next-stable-1.4.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.