Merge ~wgrant/launchpad:security.py-numeric-usernames into launchpad:master
Proposed by
William Grant
Status: | Merged |
---|---|
Approved by: | William Grant |
Approved revision: | 5bd94e80d86ee59161202f7c2f11b5b2aa54f7f0 |
Merge reported by: | Otto Co-Pilot |
Merged at revision: | not available |
Proposed branch: | ~wgrant/launchpad:security.py-numeric-usernames |
Merge into: | launchpad:master |
Diff against target: |
14 lines (+4/-1) 1 file modified
database/schema/security.py (+4/-1) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Colin Watson (community) | Approve | ||
Review via email: mp+380297@code.launchpad.net |
Commit message
Fix security.py to not crash on a role name with digits
Description of the change
PostgreSQL's aclitem putid emits role names unquoted in safe cases, but
security.py's regex didn't use the same safe set so failed to parse
ACLs involving usernames like "abc123".
To post a comment you must log in.