diff options
author | Josh Frye <joshfng@gmail.com> | 2016-03-10 21:22:46 -0500 |
---|---|---|
committer | Josh Frye <joshfng@gmail.com> | 2016-03-10 21:22:46 -0500 |
commit | 36ddca101e05ce885f23e9a797c577e81f70ab16 (patch) | |
tree | ffdecf4163679aea514288eb907a2a47687bb929 /config | |
parent | f7da99aef7044592d957df750dcf6e4185c51694 (diff) | |
download | gitlab-ce-36ddca101e05ce885f23e9a797c577e81f70ab16.tar.gz |
Filter import_url params because they may contain auth information. Fixes #14199filter-import-url
Diffstat (limited to 'config')
-rw-r--r-- | config/application.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/application.rb b/config/application.rb index d8d1e7b4679..2b103c4592d 100644 --- a/config/application.rb +++ b/config/application.rb @@ -34,7 +34,7 @@ module Gitlab config.encoding = "utf-8" # Configure sensitive parameters which will be filtered from the log file. - config.filter_parameters.push(:password, :password_confirmation, :private_token, :otp_attempt, :variables) + config.filter_parameters.push(:password, :password_confirmation, :private_token, :otp_attempt, :variables, :import_url) # Enable escaping HTML in JSON. config.active_support.escape_html_entities_in_json = true |