Skip to content

Commit

Permalink
[processing] no need to hide credentials when storing db data
Browse files Browse the repository at this point in the history
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 247c2f0
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions python/plugins/processing/tools/dataobjects.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 247c2f0

Please sign in to comment.