Opened 10 years ago

Closed 10 years ago

#1627 closed Bug (fixed)

Samples fail to load in IE7 in local filesystem

Reported by: Martin Kou Owned by: Alfonso Martínez de Lizarrondo
Priority: Normal Milestone: FCKeditor 2.6
Component: General Version: SVN (FCKeditor) - Retired
Keywords: Review+ Cc:

Description

The bug was originally reported by alfonsoml in the FCKeditor IRC channel.

Steps to reproduce:

  1. Download the FCKeditor SVN trunk to your local filesystem on a Windows computer with IE7.
  2. Open sample01.html from local filesystem with IE7.
  3. IE7 gives out a security warning. Click allow.
  4. The FCKeditor iframe still does not work after you've clicked allow.

Attachments (1)

1627.patch (10.9 KB) - added by Alfonso Martínez de Lizarrondo 10 years ago.
Proposed SVN patch

Download all attachments as: .zip

Change History (6)

comment:1 Changed 10 years ago by Alfonso Martínez de Lizarrondo

Owner: set to Alfonso Martínez de Lizarrondo

The problem is that document.location.pathname returns something like "/C:\inetpub..." with a leading extra solidus. Changing the code to use document.location.href does fix it.

This also affects the <select> in sample03 and similar.

Changed 10 years ago by Alfonso Martínez de Lizarrondo

Attachment: 1627.patch added

Proposed SVN patch

comment:2 Changed 10 years ago by Alfonso Martínez de Lizarrondo

Cc: Confirmed IE removed
Keywords: Confirmed IE7 Review? added

The proposed patch uses location.href instead of location.pathname and for the changes in <select>s it does strips out the query string and then adds the new one to the full href.

comment:3 Changed 10 years ago by Alfonso Martínez de Lizarrondo

Keywords: Confirmed IE7 removed

the report to show pending reviews seems that only shows items with exact matching of "Review?"

comment:4 Changed 10 years ago by Martin Kou

Keywords: Review+ added; Review? removed

Sorry for the late review, I should have let it passed earlier. But I was concentrating on the floating dialog branch.

comment:5 Changed 10 years ago by Alfonso Martínez de Lizarrondo

Milestone: FCKeditor 2.6
Resolution: fixed
Status: newclosed

Fixed with [1298]

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