Last modified: 2014-11-04 23:28:07 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T74974, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 72974 - Password file should normalize username
Password file should normalize username
Status: NEW
Product: Pywikibot
Classification: Unclassified
login.py (Other open bugs)
core-(2.0)
All All
: Unprioritized normal
: ---
Assigned To: Pywikipedia bugs
:
Depends on:
Blocks: pwb20
  Show dependency treegraph
 
Reported: 2014-11-04 20:43 UTC by Merlijn van Deen (test)
Modified: 2014-11-04 23:28 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Merlijn van Deen (test) 2014-11-04 20:43:33 UTC
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.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links