Opened 8 years ago

Last modified 7 years ago

#6344 confirmed Bug

Script Auto-Include Path Issues in IE8 Compatibility Mode

Reported by: Asher Snyder Owned by:
Priority: Normal Milestone:
Component: General Version: 3.0
Keywords: IE Cc:

Description

When using CKEditor dynamically in IE8 Compatibility mode CKEditor will crash if a hash (#) is in the url. For example, when calling CKEditor.replace, post page load, and after a hash is set, CKEditor will try to include the following paths:

http://20.20.0.100/Tests/CKEditor/Example/#/../ckeditor/config.js?t=A8LE4JO

http://20.20.0.100/Tests/CKEditor/Example/#/../ckeditor/lang/en.js?t=A8LE4JO

In both cases the paths to the actual files should be: http://20.20.0.100/Tests/CKEditor/Example/../

and NOT

http://20.20.0.100/Tests/CKEditor/Example/#/../

Clearly this is a major issue as CKEditor will not load at all in IE8 Compatibility mode. This seems to only be an issue in this mode.

Change History (2)

comment:1 Changed 8 years ago by Sa'ar Zac Elias

Keywords: IE8 added; path ie crash hash removed

comment:2 Changed 7 years ago by Jakub Ś

Keywords: IE added; IE8 removed
Status: newconfirmed
Version: 3.4.13.0

Paste into IE something like the below URL:
http://nightly.ckeditor.com/7294/_samples/replacebyclass.html#../foo/bar/
http://192.168.1.100:8080/3.6.2/ckeditor/_samples/replacebycode.html#../foo/bar/

Results:Editor won't load beacuse syntax error

Message: Syntax error
Line: 1
URI: /3.6.2/ckeditor/_samples/replacebycode.html#../foo/bar/../_source/core/loader.js

This is reproduicble in IE6, IE7 and in comaptibility mode only in IE8 and IE9.

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