mirror of
https://github.com/minio/minio.git
synced 2025-01-11 15:03:22 -05:00
gateway: reject bad path segments in URL (#4202)
This commit is contained in:
parent
0d32b22359
commit
01f04c717e
@ -193,6 +193,8 @@ func gatewayMain(ctx *cli.Context) {
|
||||
registerGatewayAPIRouter(router, newObject)
|
||||
|
||||
var handlerFns = []HandlerFunc{
|
||||
// Validate all the incoming paths.
|
||||
setPathValidityHandler,
|
||||
// Limits all requests size to a maximum fixed limit
|
||||
setRequestSizeLimitHandler,
|
||||
// Adds 'crossdomain.xml' policy handler to serve legacy flash clients.
|
||||
|
Loading…
Reference in New Issue
Block a user