mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
[processing] no need to hide credentials when storing db data
If they appear on the URI, it means they are already being stored in plain text by QGIS
This commit is contained in:
parent
6ce2333f98
commit
247c2f061e
@ -213,8 +213,6 @@ def normalizeLayerSource(source):
|
||||
if isWindows():
|
||||
s = source.replace('\\', '/')
|
||||
s = s.replace('"', "'")
|
||||
s = re.sub("user=.*?", "", s)
|
||||
s = re.sub("password=.*?", "", s)
|
||||
return s
|
||||
|
||||
def getObjectFromUri(uri, forceLoad=True):
|
||||
|
Loading…
x
Reference in New Issue
Block a user