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:
1 parent
c42b0ad6b7
commit
03397f605c
1 file changed
+1
-1
@@ -198,7 +198,7 @@ class RepositoriesController < ApplicationController
|
|||||||
|
|
||||||
private
|
private
|
||||||
|
|
||||||
REV_PARAM_RE = %r{^[a-f0-9]*$}i
|
REV_PARAM_RE = %r{\A[a-f0-9]*\Z}i
|
||||||
|
|
||||||
def find_repository
|
def find_repository
|
||||||
@project = Project.find(params[:id])
|
@project = Project.find(params[:id])
|
||||||
|
|||||||
Reference in new issue
Block a user