Fixed: Subversion password visible in development logs (#4448).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3251 e93f8b46-1217-0410-a6f0-8f06a7374b81
pull/351/head
Jean-Philippe Lang 15 years ago
parent 04455783a7
commit b1a92b9b2e
  1. 2
      lib/redmine/scm/adapters/abstract_adapter.rb

@ -182,7 +182,7 @@ module Redmine
end
def self.shellout(cmd, &block)
logger.debug "Shelling out: #{cmd}" if logger && logger.debug?
logger.debug "Shelling out: #{strip_credential(cmd)}" if logger && logger.debug?
if Rails.env == 'development'
# Capture stderr when running in dev environment
cmd = "#{cmd} 2>>#{RAILS_ROOT}/log/scm.stderr.log"

Loading…
Cancel
Save