ConnectionString assumes that values are in \w+
Bug #843412 reported by
William Grant
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
Critical
|
William Grant |
Bug Description
canonical.
ConnectionString needs to be fixed to use something like [^ ]+. Ideally we'd support quoting too, but that would require a full ugly parser and isn't necessary... we should just restrict escaped or quoted values for now.
Related branches
lp:~wgrant/launchpad/connectionstring-hates-production
- Ian Booth (community): Approve (code)
-
Diff: 76 lines (+46/-1)2 files modifiedlib/canonical/database/postgresql.py (+6/-1)
lib/canonical/database/tests/test_connectionstring.py (+40/-0)
Changed in launchpad: | |
status: | In Progress → Opinion |
status: | Opinion → Fix Committed |
Changed in launchpad: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.