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
This commit is contained in:
parent
04455783a7
commit
b1a92b9b2e
|
@ -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…
Reference in New Issue