Skip to content

Commit

Permalink
Merge pull request #822 from Shadow243/smtp-imap-space-in-password
Browse files Browse the repository at this point in the history
Fix Spaces in passwords are not handled correctly when adding servers
  • Loading branch information
kroky authored Mar 5, 2024
2 parents d64699b + d07bb2e commit 05be273
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/core/site.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ $.fn.serializeArray = function() {
parts = args[i].split('=');
res.push({'name': parts[0], 'value': parts[1]});
}
return res.map(function(x) {return {name: x.name, value: decodeURIComponent(x.value)}});
return res.map(function(x) {return {name: x.name, value: decodeURIComponent(x.value.replace(/\+/g, " "))}});
};
$.fn.sort = function(sort_function) {
var list = [];
Expand Down

0 comments on commit 05be273

Please sign in to comment.