Fix bug: PMA_urlencode didn't encode space character correctly

This commit is contained in:
Aris Feryanto 2011-07-29 16:14:06 +08:00
parent ac1703e7ff
commit 1e2f73c6e9

View File

@ -20,7 +20,7 @@ function PMA_urldecode(str) {
}
function PMA_urlencode(str) {
return encodeURIComponent(str.replace(/\%20/g, '+'));
return encodeURIComponent(str).replace(/\%20/g, '+');
}
/**