Fix encoding bug

bug/bundler_fix
sinn3r 2013-11-04 13:45:29 -06:00
parent ed572d95ee
commit d970925cbf
1 changed files with 2 additions and 2 deletions

View File

@ -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() {