mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-09 11:08:34 +01:00
Fix: Function more complete
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user