Revision 0cee98f3 vncauthproxy/proxy.py

b/vncauthproxy/proxy.py
636 636

  
637 637
                split_password = ('{cleartext}', password)
638 638
                if password[0] == '{':
639
                    split_password = password[1:].split('}')
639
                    split_password = password[1:].split('}', 2)
640 640
                    if len(split_password) != 2 or not split_password[1] \
641 641
                            or split_password[0] not in supported_ciphers:
642 642
                        raise InternalError("Invalid password format "

Also available in: Unified diff