Patch #838 ยป escape-target.patch
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 |