Closed Bug 303590 Opened 19 years ago Closed 19 years ago

in plain text view, links with commas and spaces do not have whole link underlined & hyperlinked

Categories

(Thunderbird :: Mail Window Front End, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 133016

People

(Reporter: rweix, Assigned: mscott)

References

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.10) Gecko/20050716 Firefox/1.0.6
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.10) Gecko/20050716 Firefox/1.0.6

Expected results (full link):
1) http://www.domain.com/mypage.php?top=this is the problem
2) http://www.domain.com/mypage.php?top=this, is the problem

Actual results (part that is underlined/hyperlinked):
1) http://www.domain.com/mypage.php?top=this
2) http://www.domain.com/mypage.php?top=this

In actual TEXT, the whole link displays, but only the portion as listed above in
actual results is underlined and if you click on the link, the underlined
portion is the only part of the URL that your browser goes to.

In HTML view, the links display as expected, and go to the appropriate URL.

 





Reproducible: Always

Steps to Reproduce:
1. Open up email
2. Change to Text-view if necessary
3. Notice that the full link isn't underlined if it contains a space or comma

Actual Results:  
The full link wasn't underlined, and thus, not hyperlinkable.

Expected Results:  
Underlined and hyperlinked the FULL link.
(In reply to comment #0)

Oh my goodness, it's a problem in Firefox too.  When viewing this Bugzilla
report in Firefox, the links show up the same way.  So if you need a visual -
just open up in Firefox and you'll have one!
(In reply to comment #1)

I take that back about Firefox - it's a problem with the way the Bugzilla takes
my error report, and converts the links I type (as plain text) into HTML. 
Evidently the conversion of plain text links in Thunderbird and Bugzilla is done
the same way, and has a small problem with it. 
*** Bug 303591 has been marked as a duplicate of this bug. ***
This is a deliberate design decision, intended to avoid inadvertantly including 
text when a URL, such as http://mozilla.org, is included in text immediately 
followed by a comma, like right there in the above line.  When you're creating 
the text, you can force full recognition by enclosing the URL in angle-brackets:
  <http://www.domain.com/mypage.php?top=this,>

*** This bug has been marked as a duplicate of 133016 ***
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
*** Bug 311874 has been marked as a duplicate of this bug. ***
You need to log in before you can comment on or make changes to this bug.