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