]> source.dussan.org Git - redmine.git/commitdiff
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 b4503ce5fde9ddc725e8b2da324f9c7695ee0c22..45d0b289aa7ea16f994776efae7f5dca84ddfa0c 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