error if password stored in config file contains a '%'

Description

Tried to login with a config file. Got the following (partly redacted because it contains a password):

I tried to single or double quote the password field, the same error occured.

Environment

Python 3.6

Activity

Show:
Kenneth Daily
January 17, 2019, 8:54 PM

fixed, thanks!

Kimyen Truong
October 8, 2018, 6:48 PM

This problem occurs at Python source code level, configparser.py. It was mentioned in https://stackoverflow.com/questions/47640354/reading-special-characters-text-from-ini-file-in-python

The suggested solution is to replace ConfigParser with RawConfigParser.

Kimyen Truong
October 8, 2018, 5:56 PM

, what version of the Synapse Python client are you using?

Fixed

Assignee

Kimyen Truong

Reporter

Kenneth Daily

Labels

None

Validator

Kenneth Daily

Development Area

None

Release Version History

None

Slack Channel

None

Sprint

None

Fix versions

Priority

Major