Fix: Function more complete

This commit is contained in:
Laurent Destailleur
2011-06-08 15:26:54 +00:00
parent 0d874ad9af
commit 2f6ec26c08

View File

@@ -522,7 +522,10 @@ function getIntegerInString(str,i,minlength,maxlength)
* ==================================================================
*/
function urlencode(s) {
return s.replace(/\+/gi,'%2B');
news=s;
news=news.replace(/\+/gi,'%2B');
news=news.replace(/&/gi,'%26');
return news;
}