Closed Bug 278341 Opened 20 years ago Closed 13 years ago

[mozTXTToHTMLConv] A colon (:) after a URL in a message is recognized as part of the URL.

Categories

(MailNews Core :: Backend, defect)

Other Branch
defect
Not set
minor

Tracking

(Not tracked)

VERIFIED FIXED
Thunderbird 11.0

People

(Reporter: dniq_mozilla, Assigned: BenB)

References

Details

(Whiteboard: [inbound])

Attachments

(1 file, 1 obsolete file)

User-Agent:       Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en) AppleWebKit/125.5.5 (KHTML, like Gecko) Safari/125.12
Build Identifier: 

If there is a colon after a URL in a message - it is recognized by Thunderbird as part of the URL. For 
example. http://bugzilla.mozilla.org/index.html: would be a complete URL with a colon at the end and 
the link will be the same, which will generate an error. The same is true for combinations of symbols: 
",:", "::" etc. This is not true, if there's no file after the host name - http://bugzilla.mozilla.org: will 
generate a correct link to http://bugzilla.mozilla.org.

Reproducible: Always

Steps to Reproduce:
1. Send a message containing a URL with a file name and a colon right after it (e-mail, news)
2. When message arrived - check where the link points to - to just the URL or to the URL with the colon.

Actual Results:  
The link points to URL with colon.

Expected Results:  
The link should point to the URL only, colon should remain a part of plain text in the message.
Taking a stab at a better component for this.
Component: General → MailNews: Backend
Product: Thunderbird → Core
Version: unspecified → Other Branch
xref bug 218287, bug 133016
Summary: A colon (:) after a URL in a message is recognized as part of the URL. → [mozTXTToHTMLConv] A colon (:) after a URL in a message is recognized as part of the URL.
This is an automated message, with ID "auto-resolve01".

This bug has had no comments for a long time. Statistically, we have found that
bug reports that have not been confirmed by a second user after three months are
highly unlikely to be the source of a fix to the code.

While your input is very important to us, our resources are limited and so we
are asking for your help in focussing our efforts. If you can still reproduce
this problem in the latest version of the product (see below for how to obtain a
copy) or, for feature requests, if it's not present in the latest version and
you still believe we should implement it, please visit the URL of this bug
(given at the top of this mail) and add a comment to that effect, giving more
reproduction information if you have it.

If it is not a problem any longer, you need take no action. If this bug is not
changed in any way in the next two weeks, it will be automatically resolved.
Thank you for your help in this matter.

The latest beta releases can be obtained from:
Firefox:     http://www.mozilla.org/projects/firefox/
Thunderbird: http://www.mozilla.org/products/thunderbird/releases/1.5beta1.html
Seamonkey:   http://www.mozilla.org/projects/seamonkey/
This bug has been automatically resolved after a period of inactivity (see above
comment). If anyone thinks this is incorrect, they should feel free to reopen it.
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → EXPIRED
Product: Core → MailNews Core
Reopening, this bug is still valid and a problem in MailNews.
Assignee: mscott → nobody
Status: RESOLVED → UNCONFIRMED
QA Contact: backend
Resolution: EXPIRED → ---
Status: UNCONFIRMED → NEW
Ever confirmed: true
Attached patch Fix, v1 (obsolete) — Splinter Review
Patch, untested
Assignee: nobody → ben.bucksch
Attachment #367479 - Attachment is obsolete: true
Attachment #572600 - Flags: review?(dbienvenu)
Comment on attachment 572600 [details] [diff] [review]
unbittrotted patch and tested

Yes, we should do it, exactly like that.

r=BenB
Attachment #572600 - Flags: review+
Note that we wouldn't catch skype: or similar anymore as a URL, but I don't see any point in a URL like that, esp. in a recognizer (get the catch common cases, not edge cases). This example is purely theoretic, I don't know any concrete URL like that, and I agree the usecase mentioned in this bug is more important. I am just recording this for completeness, that we considered and rejected this edge case.
Comment on attachment 572600 [details] [diff] [review]
unbittrotted patch and tested

only need one review for this
Attachment #572600 - Flags: review?(dbienvenu)
Keywords: checkin-needed
Target Milestone: --- → Thunderbird 11.0
https://hg.mozilla.org/mozilla-central/rev/949db7aa6119
Status: NEW → RESOLVED
Closed: 19 years ago13 years ago
Resolution: --- → FIXED
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: