From 03397f605c7ece40b38ebdcf49bd5e4fe9040ac8 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Mon, 20 Dec 2010 18:47:54 +0000 Subject: [PATCH] Fixes valid revision regexp. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4549 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/controllers/repositories_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/repositories_controller.rb b/app/controllers/repositories_controller.rb index 03fb69bd6..a71f7bf45 100644 --- a/app/controllers/repositories_controller.rb +++ b/app/controllers/repositories_controller.rb @@ -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]) -- 2.39.5