mirror of
https://github.com/redmine/redmine.git
synced 2025-11-14 17:26:06 +01:00
Adds configuration settings to limit valid repository path (#1415).
git-svn-id: http://svn.redmine.org/redmine/trunk@13573 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -192,6 +192,14 @@ class Repository::Cvs < Repository
|
||||
@current_revision_number = nil
|
||||
end
|
||||
|
||||
protected
|
||||
|
||||
# Overrides Repository#validate_repository_path to validate
|
||||
# against root_url attribute.
|
||||
def validate_repository_path(attribute=:root_url)
|
||||
super(attribute)
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
# Returns the next revision number to assign to a CVS changeset
|
||||
|
||||
Reference in New Issue
Block a user