Closed Bug 897961 Opened 11 years ago Closed 2 years ago

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

Categories

(Thunderbird :: Instant Messaging, defect)

17 Branch
x86_64
Linux
defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 954848

People

(Reporter: davidmaxwaterman, Unassigned)

References

()

Details

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;
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.
Severity: normal → minor
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
Severity: minor → S3
Summary: quoted URL link includes close quote and adds a semi-colon → Quoted URL link includes close quote and adds a semi-colon

(In reply to Patrick Cloke [:clokep] from comment #2)

We've had an Instantbird bug filed for this for a while:
https://bugzilla.instantbird.org/show_bug.cgi?id=1413

This became bug 954848.

Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.