[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:
volaya 2015-06-23 09:03:53 +02:00
parent 6ce2333f98
commit 247c2f061e

View File

@ -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):