Fix: Function more complete
This commit is contained in:
parent
0d874ad9af
commit
2f6ec26c08
@ -522,7 +522,10 @@ function getIntegerInString(str,i,minlength,maxlength)
|
|||||||
* ==================================================================
|
* ==================================================================
|
||||||
*/
|
*/
|
||||||
function urlencode(s) {
|
function urlencode(s) {
|
||||||
return s.replace(/\+/gi,'%2B');
|
news=s;
|
||||||
|
news=news.replace(/\+/gi,'%2B');
|
||||||
|
news=news.replace(/&/gi,'%26');
|
||||||
|
return news;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user