diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2010-12-20 18:47:54 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2010-12-20 18:47:54 +0000 |
commit | 03397f605c7ece40b38ebdcf49bd5e4fe9040ac8 (patch) | |
tree | 653c6bf308dbe92b7366641b51041eee94db2864 | |
parent | c42b0ad6b75e7a480b37c56f853d50be78e3fc2d (diff) | |
download | redmine-03397f605c7ece40b38ebdcf49bd5e4fe9040ac8.tar.gz redmine-03397f605c7ece40b38ebdcf49bd5e4fe9040ac8.zip |
Fixes valid revision regexp.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4549 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r-- | app/controllers/repositories_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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]) |