diff options
author | Bob Van Landuyt <bob@gitlab.com> | 2017-04-12 13:26:52 +0200 |
---|---|---|
committer | Bob Van Landuyt <bob@gitlab.com> | 2017-05-01 11:14:24 +0200 |
commit | 9fb9414ec0787a0414c912bb7b62103f96c48d34 (patch) | |
tree | eb681df7e73918c852dbccde79955e6043530373 /app/validators | |
parent | 2f95e6a0c469b2ac7647eef02810ecf2b5ce2021 (diff) | |
download | gitlab-ce-9fb9414ec0787a0414c912bb7b62103f96c48d34.tar.gz |
Reject `-` as a path
Diffstat (limited to 'app/validators')
-rw-r--r-- | app/validators/dynamic_path_validator.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/validators/dynamic_path_validator.rb b/app/validators/dynamic_path_validator.rb index ce363c052d8..7587a3f20e1 100644 --- a/app/validators/dynamic_path_validator.rb +++ b/app/validators/dynamic_path_validator.rb @@ -59,6 +59,7 @@ class DynamicPathValidator < ActiveModel::EachValidator jwt oauth sent_notifications + - ]).freeze # All project routes with wildcard argument must be listed here. |