Merge pull request #4395 from frictionel/patch-2
FIX: correct regex for username
This commit is contained in:
commit
ab9a8c6a3e
|
@ -49,7 +49,7 @@ class LogAnalyzer
|
|||
private
|
||||
|
||||
def self.sanitize_url(url)
|
||||
url.gsub(/(api_key|api_username)=(\w+)/, '\1=[FILTERED]')
|
||||
url.gsub(/(api_key|api_username)=([\w.\-]+)/, '\1=[FILTERED]')
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue