Bob Van Landuyt
|
e2b9420c11
|
Add a better error message when a certain path is missing
|
2017-05-02 11:48:54 +02:00 |
|
Bob Van Landuyt
|
a035ebbe06
|
Update path validation & specs
|
2017-05-02 10:47:01 +02:00 |
|
Bob Van Landuyt
|
c853dd6158
|
Reuse Gitlab::Regex.full_namespace_regex in the DynamicPathValidator
|
2017-05-02 09:13:41 +02:00 |
|
Bob Van Landuyt
|
08b1bc3489
|
Reject group-routes as names of child namespaces
|
2017-05-01 11:14:24 +02:00 |
|
Bob Van Landuyt
|
1e14c3c852
|
Reject paths following namespace for paths including 2 *
Reject the part following `/*namespace_id/:project_id` for paths
containing 2 wildcard parameters
|
2017-05-01 11:14:24 +02:00 |
|
Bob Van Landuyt
|
ea8e86dac8
|
Use %r{} regexes to avoid having to escape /
|
2017-05-01 11:14:24 +02:00 |
|
Bob Van Landuyt
|
e50f4bc066
|
The dynamic path validator can block out partial paths
So we can block `objects` only when it is contained in `info/lfs` or `gitlab-lfs`
|
2017-05-01 11:14:24 +02:00 |
|
Bob Van Landuyt
|
c5059cb4f7
|
Make path validation case-insensitive
|
2017-05-01 11:14:24 +02:00 |
|
Bob Van Landuyt
|
bccf8d86c5
|
Rename NamespaceValidator to DynamicPathValidator
This reflects better that it validates paths instead of a namespace model
|
2017-05-01 11:14:24 +02:00 |
|