From 98d08439dce68eabd47d2427fa2652e16b27ab6f 2007-05-09 17:22:15 From: Jean-Philippe Lang Date: 2007-05-09 17:22:15 Subject: [PATCH] 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 --- diff --git a/app/models/svn_repos.rb b/app/models/svn_repos.rb index b4503ce..45d0b28 100644 --- a/app/models/svn_repos.rb +++ b/app/models/svn_repos.rb @@ -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