summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2007-05-09 17:22:15 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2007-05-09 17:22:15 +0000
commit98d08439dce68eabd47d2427fa2652e16b27ab6f (patch)
tree012420fd20b55ff80102c4d5479bc59440578343 /app
parent8614c00c8a3e34e6b081ba2dc1be7985acc4bd4b (diff)
downloadredmine-98d08439dce68eabd47d2427fa2652e16b27ab6f.tar.gz
redmine-98d08439dce68eabd47d2427fa2652e16b27ab6f.zip
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
Diffstat (limited to 'app')
-rw-r--r--app/models/svn_repos.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/svn_repos.rb b/app/models/svn_repos.rb
index b4503ce5f..45d0b289a 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