Opened 16 years ago
Closed 16 years ago
#4069 closed Bug (invalid)
Cannot insert image using file URL
Reported by: | Damian | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | |
Keywords: | IBM | Cc: |
Description
For certain browsers, the special case file URL: file:///<path> cannot be used to insert a local image. See: RFC 1738
Steps to reproduce:
- Use Windows XP/FireFox v3.0.11 or Mac 10.5.7/Safari 4.0.2
- Go to CK Editor nightly build => check the demos => Create and destroy editor instances for Ajax applications
- Place the cursor in the CK Editor text area and click the toolbar image icon
- Specify a file url for a local image (e. g. file:///C:\Waterlilies.jpg)
- Other fields of the Image properties dialog are optional
Expected result:
The image is retrieved from the local file system and inserted into the CK Editor text area
Actual result:
The CK Editor does not find the image file. No image is inserted into the CK Editor text area
Change History (1)
comment:1 Changed 16 years ago by
Milestone: | CKEditor 3.x |
---|---|
Resolution: | → invalid |
Status: | new → closed |
AFAIK, only old versions of IE allowed to link web content to local files, and due to the security risk that it means, no browser currently allows to embed local resources into web pages located on a web server.
The image dialog will insert the img with the src provided, but it's the browser the one that won't show it. Doesn't matter if it's while you are editing or on the public site, so this is only a matter of the browser used to view the content.