diff --git a/typo3/jsfunc.tbe_editor.js b/typo3/jsfunc.tbe_editor.js index a9ec483..cc0316b 100644 --- a/typo3/jsfunc.tbe_editor.js +++ b/typo3/jsfunc.tbe_editor.js @@ -538,11 +538,7 @@ var TBE_EDITOR = { rawurlencode: function(str,maxlen) { var output = str; if (maxlen) output = output.substr(0,200); - output = escape(output); - output = TBE_EDITOR.str_replace("*","%2A", output); - output = TBE_EDITOR.str_replace("+","%2B", output); - output = TBE_EDITOR.str_replace("/","%2F", output); - output = TBE_EDITOR.str_replace("@","%40", output); + output = Ext.urlEncode({'' : str}); return output; }, str_replace: function(match,replace,string) {