Opened 16 years ago
Closed 16 years ago
#3120 closed Bug (fixed)
# (pound sign) is not correctly escaped in file urls
Reported by: | Michael Osipov | Owned by: | Michael Osipov |
---|---|---|---|
Priority: | Must have (possibly next milestone) | Milestone: | FCKeditor 2.6.5 |
Component: | File Browser | Version: | FCKeditor 2.6.4 |
Keywords: | HasPatch Review+ | Cc: |
Description (last modified by )
File and folder names containing # are not correctly escaped.
The problematic spot is frmresourceslist.html, line 92:
window.top.opener.SetUrl( encodeURI( fileUrl ).replace( '#', '%23' ) ) ;
The replace function replaces at most one pound sign. Files won't get encoded correctly and are not accessible through the file browser.
I have attached a patch which works. This should make into 2.6.5.
An alternative would be to sanitize the character.
Attachments (1)
Change History (6)
Changed 16 years ago by
Attachment: | 3120.patch added |
---|
comment:1 Changed 16 years ago by
Description: | modified (diff) |
---|
comment:2 Changed 16 years ago by
Description: | modified (diff) |
---|
comment:3 Changed 16 years ago by
Keywords: | Review+ added; Review? removed |
---|
comment:4 Changed 16 years ago by
Owner: | set to Michael Osipov |
---|
comment:5 Changed 16 years ago by
Milestone: | → FCKeditor 2.6.5 |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Fixed with [3272].