Closed Bug 755173 Opened 12 years ago Closed 12 years ago

Some links with caps in URI scheme name (HTTP, etc.) aren't highlighted as links

Categories

(Other Applications :: ChatZilla, defect)

defect
Not set
minor

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: hmmwhatsthisdo, Assigned: dsarratt)

References

()

Details

(Whiteboard: [cz-0.9.89])

Attachments

(1 file)

When a link is included in an output view and the protocol identifier / scheme name is in mixed- or all-caps, ChatZilla fails to label it as a link. This appears to be protocol-dependent - for example, mailto: can handle it, but HTTP cannot.

Steps to reproduce:

1. Send a message containing a link with a semi- or fully-capitalized scheme name. (e.g. HTTP://www.google.com)

2. Observe.
mailto: doesn't handle it, Chatzilla sees it as part of the address, so MAILTO:user@example.com becomes mailto:MAILTO:user@example.com
Status: UNCONFIRMED → NEW
Ever confirmed: true
Severity: normal → minor
OS: Windows 7 → All
Hardware: x86_64 → All
Version: unspecified → Trunk
This patch should fix both the issue with capitalised schemes and the (separate) problem with capitalised MAILTO:
Attachment #646927 - Flags: review?
Assignee: rginda → dsarratt
Attachment #646927 - Flags: review? → review+
Status: NEW → ASSIGNED
http://hg.mozilla.org/chatzilla/rev/3f4ae0564ffd
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Whiteboard: [cz-0.9.89]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: