allow any attachment filenames
This commit is contained in:
parent
115454f3ed
commit
b1f58fcaea
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@ Gitlab::Application.routes.draw do
|
||||||
#
|
#
|
||||||
# Attachments serving
|
# Attachments serving
|
||||||
#
|
#
|
||||||
get 'files/:type/:id/:filename' => 'files#download', constraints: { id: /\d+/, type: /[a-z]+/, filename: /[a-zA-Z.0-9_\-\+]+/ }
|
get 'files/:type/:id/:filename' => 'files#download', constraints: { id: /\d+/, type: /[a-z]+/, filename: /.+/ }
|
||||||
|
|
||||||
#
|
#
|
||||||
# Admin Area
|
# Admin Area
|
||||||
|
|
Loading…
Reference in a new issue