quoted URL link includes close quote and adds a semi-colon

NEW
Unassigned

Status

defect
--
minor
6 years ago
6 years ago

People

(Reporter: davidmaxwaterman+bugzilla-daemon, Unassigned)

Tracking

17 Branch
x86_64
Linux

Firefox Tracking Flags

(Not tracked)

Details

(URL)

(Reporter)

Description

6 years ago
User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:23.0) Gecko/20100101 Firefox/23.0 (Beta/Release)
Build ID: 20130709190440

Steps to reproduce:

Type a quoted url in as a message in the Chat - eg :

<http://www.sgi.com/>

Ref:
<http://tools.ietf.org/html/rfc3986#page-51>
<http://www.w3.org/Addressing/rfc1738.txt>


Actual results:

The link to 'http://www.sgi.com/>' is placed on the text 'http://www.sgi.com/>' and a semi-colon is added that wasn't entered.

ie, I get the equivalent of this html :

&lt;<a href="http://www.sgi.com/&gt;">http://www.sgi.com/&gt;</a>;


Expected results:

It should have added text '<http://www.sgi.com/>' (ie not add a semi-colon) and link only the text 'http://www.sgi.com/' (ie not also link the final '>'). The actual URL should also only be http://www.sgi.com.

I expected the equivalent of this html :

&lt;<a href="http://www.sgi.com/">http://www.sgi.com/</a>&gt;
(Reporter)

Comment 1

6 years ago
I noticed that, when other people enter '<http://www.sgi.com/>' the text is also rendered with an extra semi-colon and linked wrongly...so I conclude it is a rendering issue, not a text input issue.
(Reporter)

Updated

6 years ago
Severity: normal → minor
(Reporter)

Updated

6 years ago
Summary: chat:quoted URL link includes close quote and adds a semi-colon → quoted URL link includes close quote and adds a semi-colon
We've had an Instantbird bug filed for this for a while: https://bugzilla.instantbird.org/show_bug.cgi?id=1413

Unfortunately it doesn't fully seem clear what the issue is here and what should be fixed. (I can't tell if it's a bug in the toolkit code we're using or in our code or both.)
Status: UNCONFIRMED → NEW
Ever confirmed: true
You need to log in before you can comment on or make changes to this bug.