mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-23 23:58:31 -05:00
Update nginx_analyze.rb
This commit is contained in:
parent
37b68f10ae
commit
7f33687bd5
1 changed files with 1 additions and 1 deletions
|
@ -49,7 +49,7 @@ class LogAnalyzer
|
||||||
private
|
private
|
||||||
|
|
||||||
def self.sanitize_url(url)
|
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
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue