Adium

Ticket #10532 (closed defect: fixed)

Opened 4 months ago

Last modified 4 months ago

linkification of mailto + xmpp link

Reported by: aaaaaaaaaaaaaa Assigned to: earthmkii
Priority: normal Milestone: SVN issues
Component: AutoHyperlinks Version: 1.3b9
Severity: normal Keywords:
Cc: Patch: None
Pending: 0

Description

This text:

mailto:test@example.com sometext xmpp:test@example.com

gets linkified as a single mailto: link with spaces.

Change History

07/21/2008 07:43:08 PM changed by earthmkii

  • status changed from new to assigned.

07/21/2008 07:47:48 PM changed by sholt

(In [24470]) Unit test for 2 URI's seperated by some text. Refs #10532.

07/21/2008 08:19:52 PM changed by sholt

  • status changed from assigned to closed.
  • resolution set to fixed.

(In [24472]) Since [23560], we scanned all messages to see if the whole message was a link. This invalidated the assumption that text passed to the AHLinkLexer would not have spaces in it, leading to #10532. We now toss any pattern containing whitespace in AHLinkLexer. Includes a new UnitTest. Fixes #10532.

07/21/2008 08:56:19 PM changed by earthmkii

  • milestone set to SVN issues.

07/23/2008 11:09:33 AM changed by sholt

(In [24479]) This is a technically better fix, and actually decreses the FSM table size by an appreciable amount. Refs #10532.