OSDN Git Service

Fixed: files with an apostrophe in their names can't be accessed in the repository
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Wed, 9 May 2007 17:22:15 +0000 (17:22 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Wed, 9 May 2007 17:22:15 +0000 (17:22 +0000)
git-svn-id: http://redmine.rubyforge.org/svn/trunk@522 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/models/svn_repos.rb

index b4503ce..45d0b28 100644 (file)
@@ -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