Merge pull request #938 from lorenzhs/password-escape-comma

Escape comma in password
deploy
Lorenz Hübschle-Schneider 8 years ago committed by GitHub
commit 6af2a870fb
  1. 2
      js/connection.js

@ -35,6 +35,8 @@ weechat.factory('connection',
// Helper methods for initialization commands // Helper methods for initialization commands
var _initializeConnection = function(passwd) { var _initializeConnection = function(passwd) {
// Escape comma in password (#937)
passwd = passwd.replace(',', '\\,');
// This is not the proper way to do this. // This is not the proper way to do this.
// WeeChat does not send a confirmation for the init. // WeeChat does not send a confirmation for the init.
// Until it does, We need to "assume" that formatInit // Until it does, We need to "assume" that formatInit

Loading…
Cancel
Save