@@ -20,7 +20,7 require 'redmine/scm/adapters/subversion_adapter' | |||
|
20 | 20 | class Repository::Subversion < Repository |
|
21 | 21 | attr_protected :root_url |
|
22 | 22 | validates_presence_of :url |
|
23 | validates_format_of :url, :with => /^(http|https|svn|file):\/\/.+/i | |
|
23 | validates_format_of :url, :with => /^(http|https|svn|svn\+ssh|file):\/\/.+/i | |
|
24 | 24 | |
|
25 | 25 | def scm_adapter |
|
26 | 26 | Redmine::Scm::Adapters::SubversionAdapter |
General Comments 0
You need to be logged in to leave comments.
Login now