mirror of
https://github.com/redmine/redmine.git
synced 2026-03-09 22:20:55 +01:00
Fixes valid revision regexp.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4549 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -198,7 +198,7 @@ class RepositoriesController < ApplicationController
|
||||
|
||||
private
|
||||
|
||||
REV_PARAM_RE = %r{^[a-f0-9]*$}i
|
||||
REV_PARAM_RE = %r{\A[a-f0-9]*\Z}i
|
||||
|
||||
def find_repository
|
||||
@project = Project.find(params[:id])
|
||||
|
||||
Reference in New Issue
Block a user