Ticket #1627 (closed Bug: fixed)
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 (FCKeditor) - Retired |
| Keywords: | Review+ | Cc: |
Description
The bug was originally reported by alfonsoml in the FCKeditor IRC channel.
Steps to reproduce:
- Download the FCKeditor SVN trunk to your local filesystem on a Windows computer with IE7.
- Open sample01.html from local filesystem with IE7.
- IE7 gives out a security warning. Click allow.
- The FCKeditor iframe still does not work after you've clicked allow.
Attachments
Change History
comment:2 Changed 5 years ago by alfonsoml
- Keywords Confirmed IE7 Review? added
- Cc Confirmed IE removed
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 5 years ago by alfonsoml
- Keywords Confirmed IE7 removed
the report to show pending reviews seems that only shows items with exact matching of "Review?"
Note: See
TracTickets for help on using
tickets.

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.