Fix encoding bug
parent
ed572d95ee
commit
d970925cbf
|
@ -275,9 +275,9 @@ module Msf
|
|||
function objToQuery(obj) {
|
||||
var q = [];
|
||||
for (var key in obj) {
|
||||
q.push(key + '=' + obj[key]);
|
||||
q.push(encodeURIComponent(key) + '=' + encodeURIComponent(obj[key]));
|
||||
}
|
||||
return escape(Base64.encode(q.join('&')));
|
||||
return Base64.encode(q.join('&'));
|
||||
}
|
||||
|
||||
window.onload = function() {
|
||||
|
|
Loading…
Reference in New Issue