CVS root_url not recognized when connection string does not include port (#14422).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@12027 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang committed 2013-07-15 21:06:54 +00:00
1 parent 9ca8b20d55
commit 01a9e17c49
2 files changed
+14 -3

No files matched your search

+1 -1
View File
@@ -335,7 +335,7 @@ module Redmine
# :pserver:anonymous@foo.bar:/path => /path
# :ext:cvsservername:/path => /path
def root_url_path
root_url.to_s.gsub(/^:.+:\d*/, '')
root_url.to_s.gsub(%r{^:.+?(?=/)}, '')
end
# convert a date/time into the CVS-format