mirror of
https://github.com/redmine/redmine.git
synced 2026-03-04 03:21:24 +01:00
Fixed: files with an apostrophe in their names can't be accessed in the repository
git-svn-id: http://redmine.rubyforge.org/svn/trunk@522 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -192,7 +192,7 @@ module SvnRepos
|
||||
def target(path)
|
||||
path ||= ""
|
||||
base = path.match(/^\//) ? root_url : url
|
||||
" \"" << "#{base}/#{path}".gsub(/["'?<>\*]/, '') << "\""
|
||||
" \"" << "#{base}/#{path}".gsub(/["?<>\*]/, '') << "\""
|
||||
end
|
||||
|
||||
def logger
|
||||
|
||||
Reference in New Issue
Block a user