@@ -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 => |
|
|
23 | validates_format_of :url, :with => %r{\A(http|https|svn(\+[^\s:\/\\]+)?|file):\/\/.+}i | |
|
24 | 24 | |
|
25 | 25 | def self.scm_adapter_class |
|
26 | 26 | Redmine::Scm::Adapters::SubversionAdapter |
General Comments 0
You need to be logged in to leave comments.
Login now