Index: _whatsnew.html
===================================================================
--- _whatsnew.html (revision 3471)
+++ _whatsnew.html (working copy)
@@ -50,6 +50,8 @@
About plugin shows misleading user language
[#2821] Configuration
items that used floating point numbers were parsed as integers.
+ [#2689] If a
+ custom connector tried to use the "url" attribute for files it was always reencoded.
Language file updates for the following languages:
- [#2849] Lithuanian
Index: editor/filemanager/browser/default/frmresourceslist.html
===================================================================
--- editor/filemanager/browser/default/frmresourceslist.html (revision 3471)
+++ editor/filemanager/browser/default/frmresourceslist.html (working copy)
@@ -89,7 +89,7 @@
function OpenFile( fileUrl )
{
- window.top.opener.SetUrl( encodeURI( fileUrl ).replace( /#/g, '%23' ) ) ;
+ window.top.opener.SetUrl( fileUrl ) ;
window.top.close() ;
window.top.opener.focus() ;
}
@@ -145,7 +145,7 @@
// Get the optional "url" attribute. If not available, build the url.
var oFileUrlAtt = oNodes[j].attributes.getNamedItem('url') ;
- var sFileUrl = oFileUrlAtt != null ? oFileUrlAtt.value : sCurrentFolderUrl + sFileName ;
+ var sFileUrl = oFileUrlAtt != null ? oFileUrlAtt.value : encodeURI( sCurrentFolderUrl + sFileName ).replace( /#/g, '%23' ) ;
oHtml.Append( oListManager.GetFileRowHtml( sFileName, sFileUrl, sFileSize ) ) ;
}