Skip to content
Permalink
Browse files

[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
  • Loading branch information
volaya committed Jun 23, 2015
1 parent 6ce2333 commit 247c2f061e2f47c0c4c3ad0c8b3ab881713bb479
Showing with 0 additions and 2 deletions.
  1. +0 −2 python/plugins/processing/tools/dataobjects.py
@@ -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):

0 comments on commit 247c2f0

Please sign in to comment.
You can’t perform that action at this time.