From f5c8d05f1ee69fc7dd40f40e7e54191691e3219a Mon Sep 17 00:00:00 2001 From: Guo Xiang Tan Date: Wed, 20 Jul 2016 09:30:08 +0800 Subject: [PATCH] Should be `api_username`. --- .../discourse-nginx-performance-report/script/nginx_analyze.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/discourse-nginx-performance-report/script/nginx_analyze.rb b/plugins/discourse-nginx-performance-report/script/nginx_analyze.rb index a21edf32641..262ad047ea1 100644 --- a/plugins/discourse-nginx-performance-report/script/nginx_analyze.rb +++ b/plugins/discourse-nginx-performance-report/script/nginx_analyze.rb @@ -49,7 +49,7 @@ class LogAnalyzer private def self.sanitize_url(url) - url.gsub(/(api_key|api_user)=(\w+)/, '\1=[FILTERED]') + url.gsub(/(api_key|api_username)=(\w+)/, '\1=[FILTERED]') end end