Ticket #2689: 2689.patch

File 2689.patch, 1.7 KB (added by Alfonso Martínez de Lizarrondo, 15 years ago)

Proposed patch

  • _whatsnew.html

     
    5050                        About plugin shows misleading user language</li>
    5151                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2821">#2821</a>] Configuration
    5252                        items that used floating point numbers were parsed as integers.</li>
     53                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2689">#2689</a>] If a
     54                        custom connector tried to use the "url" attribute for files it was always reencoded.</li>
    5355                <li>Language file updates for the following languages:
    5456                        <ul>
    5557                                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2849">#2849</a>] Lithuanian</li>
  • editor/filemanager/browser/default/frmresourceslist.html

     
    8989
    9090function OpenFile( fileUrl )
    9191{
    92         window.top.opener.SetUrl( encodeURI( fileUrl ).replace( /#/g, '%23' ) ) ;
     92        window.top.opener.SetUrl( fileUrl ) ;
    9393        window.top.close() ;
    9494        window.top.opener.focus() ;
    9595}
     
    145145
    146146                // Get the optional "url" attribute. If not available, build the url.
    147147                var oFileUrlAtt = oNodes[j].attributes.getNamedItem('url') ;
    148                 var sFileUrl = oFileUrlAtt != null ? oFileUrlAtt.value : sCurrentFolderUrl + sFileName ;
     148                var sFileUrl = oFileUrlAtt != null ? oFileUrlAtt.value : encodeURI( sCurrentFolderUrl + sFileName ).replace( /#/g, '%23' ) ;
    149149
    150150                oHtml.Append( oListManager.GetFileRowHtml( sFileName, sFileUrl, sFileSize ) ) ;
    151151        }
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy