Hi Richard,

Il 16/02/21 14:39, Richard Duivenvoorde ha scritto:

> I do not think a sane user would want to end a username OR password with a 
> space....
> This is asking for issues, everywhere in your toolchain ...
> 
> Would it not be better to just 'strip' username,dbname and passwd? From 
> trailing (and starting) whitespace?

IMHO not: spaces are valid characters, and the software should not take
arbitrary decisions. But your solution will be better than the current
one for most users (except for the insane ;) ).
Cheers.
-- 
Paolo Cavallini
www.faunalia.eu - QGIS.org
training, support, development on QGIS, PostGIS and more
_______________________________________________
QGIS-Developer mailing list
[email protected]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to