Opened 7 years ago

Closed 7 years ago

#16842 closed Bug (duplicate)

Autolink plugin does not recognize URLs with dashes

Reported by: Robert Schouwenburg Owned by:
Priority: Normal Milestone:
Component: General Version:
Keywords: Cc:

Description

Steps to reproduce

  1. Paste http://www.the-art-of-web.com/php/parse-links/ into editor

Expected result

Link is recognized and turned hyperlink

Actual result

Link is not recognized

The problem is the regex on line 10 of autolink/plugin.js

It needs to change to: /(https?|ftp):\/\/(-\.)?([\s\/?\.#]+\.?)+(\/[\s]*)?[\s\.,]$/ig

Other details (browser, OS, CKEditor version, installed plugins)

Change History (1)

comment:1 Changed 7 years ago by Jakub Ś

Keywords: autolink removed
Resolution: duplicate
Status: newclosed
Version: 4.6.2

DUP of #14769.

Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy