Ignore subversion root_url case when extracting relative url.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3138 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2009-12-09 08:39:51 +00:00
parent 0fe389b841
commit 1de2a0b7c7
1 changed files with 1 additions and 1 deletions

View File

@ -84,6 +84,6 @@ class Repository::Subversion < Repository
# url = file:///var/svn/foo/bar
# => returns /bar
def relative_url
@relative_url ||= url.gsub(Regexp.new("^#{Regexp.escape(root_url)}"), '')
@relative_url ||= url.gsub(Regexp.new("^#{Regexp.escape(root_url)}", Regexp::IGNORECASE), '')
end
end