diff options
author | Lin Jen-Shin <godfat@godfat.org> | 2017-05-26 16:55:29 +0300 |
---|---|---|
committer | Lin Jen-Shin <godfat@godfat.org> | 2017-05-26 18:06:20 +0300 |
commit | c94db0c2906c5da49acc9addb976b64fd7c7b256 (patch) | |
tree | 9db7628da93c0036625a48d985a1778a92a9766e /lib/gitlab/path_regex.rb | |
parent | 70eb0c6a88ccb4a1d8fe6cc42fa4aa72b7584ffe (diff) |
Use - as the prefix so we don't conflict with namespaces
The decision was made around:
https://gitlab.com/gitlab-org/gitlab-ce/issues/26407#note_30624641
Diffstat (limited to 'lib/gitlab/path_regex.rb')
-rw-r--r-- | lib/gitlab/path_regex.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/gitlab/path_regex.rb b/lib/gitlab/path_regex.rb index 1c0abc9f7cf..9ff6829cd49 100644 --- a/lib/gitlab/path_regex.rb +++ b/lib/gitlab/path_regex.rb @@ -80,6 +80,7 @@ module Gitlab # By rejecting `badges` the router can _count_ on the fact that `badges` will # be preceded by the `namespace/project`. PROJECT_WILDCARD_ROUTES = %w[ + - badges blame blob |