Project

General

Profile

Patch #838 ยป escape-target.patch

John Goerzen, 2008-03-12 16:22

View differences:

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