Opened 6 years ago

Last modified 6 years ago

#10692 confirmed Bug

Links to files clickable in Firefox

Reported by: dggtydnk Owned by:
Priority: Normal Milestone:
Component: General Version: 4.2
Keywords: Cc:

Description

When I have a link to a file (i.e. tmp.doc), that link becomes clickable in Firefox. I am able to reproduce this using the CKEditor demo page in Firefox only, seems to work in Chrome and IE. I am using Firefox version 22.0. To reproduce:

  1. Select text
  2. Click Insert Link button
  3. Type "/tmp.doc" in the URL field.
  4. Click OK.
  5. Single click on the newly created link in the editor and the document.location changes to /tmp.doc

If you type "/tmp.php" or "/tmp.html", the link is not clickable. It seems that non-web mime types trigger the link to be clickable (i.e. /tmp.xls also triggers the link to be clickable)

Change History (1)

comment:1 Changed 6 years ago by Jakub Ś

Status: newconfirmed

I was only able to reproduce this on demo page. When using same scenario locally on my Tomcat or Xampp there was no problem.

To reproduce:

  1. Open demo page and read-only sample.
  2. Make editor editable.
  3. Insert /tmp.doc link using link dialog as described in original tc.
  4. Make editor read-only again and click link.
  5. Check out URL or use console.log(document.location);
Note: See TracTickets for help on using tickets.
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy