Bug report #2146

PostGres connection exposes username and password

Added by durga - about 15 years ago. Updated over 14 years ago.

Status:Closed
Priority:Low
Assignee:Tim Sutton
Category:C++ Plugins
Affected QGIS version: Regression?:No
Operating System:Windows Easy fix?:No
Pull Request or Patch supplied: Resolution:fixed
Crashes QGIS or corrupts data: Copied to github as #:12206

Description

When the user selects Layer>Add VectorLayer>Database>PostGresSQL and selects a database,on some occassions it exposes the username and password.

Password.PNG - PasswordExposed (7.42 KB) durga -, 2009-11-24 11:18 PM


Related issues

Related to QGIS Application - Bug report #5959: WMS password visible Closed 2012-07-06

History

#1 Updated by Giovanni Manghi about 15 years ago

there is a way to replicate this on purpose? I would like to see if it happens also on Linux.

#2 Updated by Martin Dobias almost 15 years ago

Additinally the password is also a part of layer ID - could be seen e.g. in project files or in python console by executing:

print qgis.utils.iface.activeLayer().getLayerID()

#3 Updated by Jürgen Fischer over 14 years ago

  • Resolution set to fixed
  • Status changed from Open to Closed

fixed in 3c5c55ee (SVN r12860).

Also available in: Atom PDF