Usaco doesn't allow passwords with spaces in them

Bug #723405 reported by Jonathan Hitchcock on 2011-02-22
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ibid
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

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.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers