gateway: reject bad path segments in URL (#4202)

master
Krishna Srinivas 8 years ago committed by Harshavardhana
parent 0d32b22359
commit 01f04c717e
  1. 2
      cmd/gateway-main.go

@ -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…
Cancel
Save