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:
Jean-Philippe Lang 2007-05-09 17:22:15 +00:00
parent 8614c00c8a
commit 98d08439dc
1 changed files with 1 additions and 1 deletions

View File

@ -192,7 +192,7 @@ module SvnRepos
def target(path) def target(path)
path ||= "" path ||= ""
base = path.match(/^\//) ? root_url : url base = path.match(/^\//) ? root_url : url
" \"" << "#{base}/#{path}".gsub(/["'?<>\*]/, '') << "\"" " \"" << "#{base}/#{path}".gsub(/["?<>\*]/, '') << "\""
end end
def logger def logger