Skip to content

Commit

Permalink
Merge pull request #3 from nosnilmot/fix-colon-passwords
Browse files Browse the repository at this point in the history
Fix to support passwords containing colon
  • Loading branch information
cdauth authored Aug 31, 2017
2 parents 3a5f616 + 94202ae commit 588199c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion auth_mysql.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ def ejabberd_in():
(size,) = struct.unpack('>h', input_length)
logging.debug('size of data: %i'%size)

income=sys.stdin.read(size).split(':')
income=sys.stdin.read(size).split(':', 4)
logging.debug("incoming data: %s"%income)

return income
Expand Down

0 comments on commit 588199c

Please sign in to comment.