[X2Go-Dev] Bug#716: python-x2gobroker web/plain module strips passwords breaking passwords that start or end with a space

Jason Alavaliant alavaliant at ra09.com
Mon Jan 5 06:08:16 CET 2015


Package: python-x2gobroker
Version: 0.0.2.3
Tags: patch

One of my users was getting their authentication failing when connecting 
to an x2go broker using the http plain backend.     Testing revealed 
that their password ended with a space which the web/plain module 
default code was automatically stripping off before passing through to 
the authservice.    The attached patch disables stripping for the 
password argument so passwords starting/ending with spaces are no longer 
incorrectly rejected.

Thanks
Jason
-------------- next part --------------
A non-text attachment was scrubbed...
Name: x2gobroker-web-plain.py-handle-spaces-at-start-and-end-of-passwords.patch
Type: text/x-diff
Size: 538 bytes
Desc: not available
URL: <http://lists.x2go.org/pipermail/x2go-dev/attachments/20150105/508f201c/attachment.patch>


More information about the x2go-dev mailing list