Opened 7 years ago

Closed 6 years ago

#17038 closed defect (patchwelcome)

Various problems in AutoURLLink

Reported by: George Sexton Owned by:
Priority: undecided Milestone: tbd
Component: Editor Version: 1.8.3
Keywords: Cc:
Blocked By: Blocking:

Description

There are many problems in AutoURLLink that keep it from working as expected.

Problem 1

Type the URL: "http://www.google.com/" immediately followed by ENTER

Expected behavior: The link should be made clickable.

Observed Behavior: Doesn't work

Browsers: Safari and Firefox 20.0

Problem 2

Type the text:

"visit the google at http://www.google.com/ abc"

Expected behavior: The space between the trailing / and "abc" should be preserved

Observed Behavior: The space after the trailing backslash is consumed.

Browsers: Works correctly on Safari. Doesn't work Correctly on Firefox

Problem 3

Type the text: "Send us an email at: mailto:someone@… abc"

Expected Behavior: The text should be converted to a mailto link.

Problem 4

Type the Text: "ftp://ftp.example.com/"

and then type: "ftp://www.example.com/"

Expected Behavior: Both URLs should be made clickable.

Observed Behavior: Only the second URL is clickable.

Problem 5

Type the text: "visit us online at www.example.com for a free pony ride!"

Expected Behavior: Even though this is not strictly speaking a valid URL, it's a common enough usage pattern it should be replaced with a clickable link

Observed behavior: The text is not made clickable.

Enhancement Request 1

It would be nice if there were some generic method of specifying that the target URL should open in a new window.

Enhancement Request 2

It would be nice if Email addresses were automatically converted to mailto links.

Change History (1)

comment:1 Changed 6 years ago by bill

Resolution: patchwelcome
Status: newclosed

Unlikely this will be fixed unless someone wants to supply a patch (including a test case).

Note: See TracTickets for help on using tickets.