Skip to content

Commit

Permalink
credentials lookup should not include pw, even for default
Browse files Browse the repository at this point in the history
  • Loading branch information
petersilva committed May 22, 2024
1 parent a0443ca commit 6ad476d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sarracenia/credentials.py
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ def get(self, urlstr):
url = urllib.parse.urlparse(urlstr)
if self.isValid(url):
self.add(urlstr)
return False, self.credentials[urlstr]
return False, self.credentials[urlstr.replace(':anonymous@','@')]

# resolved from defined credentials
ok, details = self._resolve(urlstr, url)
Expand Down

0 comments on commit 6ad476d

Please sign in to comment.