Usaco doesn't allow passwords with spaces in them
Bug #723405 reported by
Jonathan Hitchcock
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ibid |
Fix Committed
|
Wishlist
|
Stefano Rivera |
Bug Description
The regex for password in the Usaco plugin is \S+, which won't match passwords with spaces (or any non-\S character) in them.
I suggest (\S.*)$, although this will also break passwords begin with spaces, but those are going to be problematic anyway.
(A quick grep for 'password' in other plugins and a once-over on their regexes probably wouldn't hurt either...)
Related branches
lp:~stefanor/ibid/passwords-723405
- Max Rabkin: Approve
- Keegan Carruthers-Smith: Approve
-
Diff: 12 lines (+1/-1)1 file modifiedibid/plugins/codecontest.py (+1/-1)
Changed in ibid: | |
assignee: | marcog (marco-gallotta) → Stefano Rivera (stefanor) |
importance: | Undecided → Wishlist |
milestone: | none → 0.2.0 |
status: | New → In Progress |
Changed in ibid: | |
status: | In Progress → Fix Committed |
To post a comment you must log in.