Ticket #1627 (closed Bug: fixed)

Opened 12 months ago

Last modified 11 months ago

Samples fail to load in IE7 in local filesystem

Reported by: martinkou Owned by: alfonsoml
Priority: Normal Milestone: FCKeditor 2.6
Component: General Version: SVN
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

1627.patch (10.9 KB) - added by alfonsoml 12 months ago.
Proposed SVN patch

Change History

Changed 12 months ago by alfonsoml

  • owner set to alfonsoml

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 12 months ago by alfonsoml

Proposed SVN patch

Changed 12 months ago by alfonsoml

  • 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.

Changed 11 months ago by alfonsoml

  • keywords Confirmed IE7 removed

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

Changed 11 months ago by martinkou

  • 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.

Changed 11 months ago by alfonsoml

  • status changed from new to closed
  • resolution set to fixed
  • milestone set to FCKeditor 2.6

Fixed with [1298]

Note: See TracTickets for help on using tickets.