Opened 15 years ago

Last modified 15 years ago

#3120 closed Bug

# (pound sign) is not correctly escaped in file urls — at Version 1

Reported by: Michael Osipov Owned by:
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 Michael Osipov)

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.

Change History (2)

Changed 15 years ago by Michael Osipov

Attachment: 3120.patch added

comment:1 Changed 15 years ago by Michael Osipov

Description: modified (diff)
Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy