Opened 7 months ago

Last modified 3 weeks ago

#14769 confirmed Bug

[autolink] URL with '-' in host not detected

Reported by: mpeuss Owned by:
Priority: Normal Milestone:
Component: General Version: 4.5.0
Keywords: Cc:

Description

Steps to reproduce

  1. enable the autolink plugin
  2. paste a url with a '-' in the hostname (e.g. http://example-site.org/) into the editor text field

Expected result

url string is converted to a clickable link

Actual result

url is not detected

Change History (5)

comment:1 Changed 7 months ago by j.swiderski

  • Status changed from new to confirmed
  • Version changed from 4.5.10 (GitHub - master) to 4.5.0

Problem can be reproduced from CKEditor 4.5.0.

comment:2 Changed 7 months ago by j.swiderski

#13364 we had similar but it has turned out there was rather a problem in user implementation.

Are you by any chance using any non-standard package with third-party plugins not created by CKSource?

comment:3 Changed 3 months ago by j.swiderski

Other issues for autolink plugin: #13569, #16685.

Last edited 3 weeks ago by j.swiderski (previous) (diff)

comment:4 Changed 3 weeks ago by j.swiderski

#14903 was marked as duplicate.

In search of the perfect URL validation regex might help with finding a good regexp.

comment:5 Changed 3 weeks ago by j.swiderski

#16842 was marked as duplicate.

Note: See TracTickets for help on using tickets.
© 2003 – 2016 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy