https://bugzilla.wikimedia.org/show_bug.cgi?id=72974
Bug ID: 72974 Summary: Password file should normalize username Product: Pywikibot Version: core (2.0) Hardware: All OS: All Status: NEW Severity: normal Priority: Unprioritized Component: login.py Assignee: Pywikipedia-bugs@lists.wikimedia.org Reporter: valhallasw@arctus.nl Web browser: --- Mobile Platform: ---
With
user-config.py -------------- family = 'wikipedia' mylang = 'en' usernames['wikipedia']['en'] = u'valhallasw' password_file = 'password'
password -------- (u'valhallasw', 'topsecretpassword')
The password is not used, as the username is u'Valhallasw' once LoginManager checks the password file.
LoginManager should normalize the usernames in the password file.
Workaround: Use (u'Valhallasw', 'topsecretpassword') in the password file.
https://bugzilla.wikimedia.org/show_bug.cgi?id=72974
John Mark Vandenberg jayvdb@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jayvdb@gmail.com Blocks| |70936
https://bugzilla.wikimedia.org/show_bug.cgi?id=72974
John Mark Vandenberg jayvdb@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugzilla.wikimedia. | |org/show_bug.cgi?id=55201
pywikipedia-bugs@lists.wikimedia.org