Project

General

Profile

Patch #838 ยป escape-target.patch

John Goerzen, 2008-03-12 16:22

View differences:

lib/redmine/scm/adapters/abstract_adapter.rb
def target(path)
path ||= ""
base = path.match(/^\//) ? root_url : url
" \"" << "#{base}/#{path}".gsub(/["?<>\*]/, '') << "\""
' ' + shell_quote("#{base}/#{path}".gsub(/["?<>\*]/, ''))
end
def logger
    (1-1/1)