Opened 18 years ago
Closed 18 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:
- 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 (1)
Change History (6)
comment:1 Changed 18 years ago by
| Owner: | set to Alfonso Martínez de Lizarrondo |
|---|
comment:2 Changed 18 years ago by
| 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 18 years ago by
| Keywords: | Confirmed IE7 removed |
|---|
the report to show pending reviews seems that only shows items with exact matching of "Review?"
comment:4 Changed 18 years ago by
| 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 18 years ago by
| Milestone: | → FCKeditor 2.6 |
|---|---|
| Resolution: | → fixed |
| Status: | new → closed |
Fixed with [1298]

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.