#3120: # (pound sign) is not correctly escaped in file urls
------------------------------+---------------------------------------------
 Reporter:  mosipov           |       Owner:                 
     Type:  Bug               |      Status:  new            
 Priority:  High              |   Milestone:                 
Component:  File Browser      |     Version:  FCKeditor 2.6.4
 Keywords:  HasPatch Review?  |  
------------------------------+---------------------------------------------
Description changed by mosipov:

Old description:

> File and folder names containing # are not correctly escaped.
>
> The problematic spot is frmresourceslist.html, line 92:
> {{{
> #!java
> window.top.opener.SetUrl( encodeURI( fileUrl ).replace( '#', '%23' ) ) ;
> }}}
>
> The replace function replaces at most one pound sign. Files won't get
> encoded correctly.
>
> I have attached a patch which works. This should make into 2.6.5.

New description:

 File and folder names containing # are not correctly escaped.

 The problematic spot is frmresourceslist.html, line 92:
 {{{
 #!java
 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.

--

-- 
Ticket URL: <http://dev.fckeditor.net/ticket/3120#comment:1>
FCKeditor <http://www.fckeditor.net/>
The text editor for Internet
------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
FCKeditor-Trac mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fckeditor-trac

Reply via email to