MCPcopy Create free account
hub / github.com/imgproxy/imgproxy / IsSecurityOptionsAllowed

Method IsSecurityOptionsAllowed

options/parser/parser.go:33–39  ·  view source on GitHub ↗
(ctx context.Context)

Source from the content-addressed store, hash-verified

31}
32
33func (p *Parser) IsSecurityOptionsAllowed(ctx context.Context) error {
34 if p.config.AllowSecurityOptions {
35 return nil
36 }
37
38 return newSecurityOptionsError(ctx)
39}

Calls 1

newSecurityOptionsErrorFunction · 0.85

Tested by

no test coverage detected