Don't allow db usernames to contain -

Bug #464256 reported by Stuart Bishop
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Triaged
Low
Stuart Bishop

Bug Description

We should fail when security.cfg defines a database user with a name not matching [a-z0-9_]+.

This stops us shooting ourselves in the foot, as database usernames, tablenames etc. need to confirm or be quoted and we are likely to forget to quote some places because it is a pain in the bum and all but one of our usernames do confirm.

Stuart Bishop (stub)
Changed in launchpad-foundations:
importance: Undecided → Medium
status: New → Triaged
Curtis Hovey (sinzui)
Changed in launchpad:
importance: Medium → Low
Stuart Bishop (stub)
Changed in launchpad:
assignee: nobody → Stuart Bishop (stub)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.