Opened 13 years ago
Closed 13 years ago
Last modified 13 years ago
#572 closed defect (fixed)
Password whitespace for Shape File to PostGIS Importer not supported
|Reported by:||dandy||Owned by:||pramsey|
|Keywords:||password shapefile importer||Cc:|
Shape File to PostGIS Importer tool does not handle passwords with white space correctly.
Connecting: user=postgres password= a brick port=5432 host=localhost dbname=postgis
Connection failed: missing "=" after "a" in connection info string
Change History (4)
comment:1 by , 13 years ago
comment:2 by , 13 years ago
|Milestone:||PostGIS 1.5.2 → PostGIS 1.5.3|
comment:3 by , 13 years ago
|Milestone:||PostGIS 1.5.3 → PostGIS 1.5.2|
|Status:||new → closed|
comment:4 by , 13 years ago
I won't be able to until tomorrow. Besides I'd rather test on a packaged rc1 so I can test all the packaging and all the other fixes in one g. Can we have an rc1 please.
Note: See TracTickets for help on using tickets.
Yes, the password string builder plops the password in verbatim, which means you get something like
This link gives some advice on how to construct a string with spaces
Since solution 'is to' use single-quotes, that means that passwords with single-quotes must be themselves escaped