Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[policy][request-validation] check null parameters #2531

Closed
NicolasGeraud opened this issue Aug 14, 2019 · 0 comments

Comments

@NicolasGeraud
Copy link
Member

commented Aug 14, 2019

An empty parameter produces a 500.

Steps to Reproduce (for bugs)

  1. add the validate-request policy
  2. configure the NOT_NULL type
  3. add an empty parameter
  4. call your API
{
    "message": "io.gravitee.gateway.policy.PolicyException: java.lang.reflect.InvocationTargetException",
    "http_status_code": 500
}

Your Environment

  • Version used: 1.3.1

@NicolasGeraud NicolasGeraud added this to the APIM - 1.25.10 milestone Aug 14, 2019

@NicolasGeraud NicolasGeraud self-assigned this Aug 14, 2019

NicolasGeraud added a commit to gravitee-io/gravitee-policy-request-validation that referenced this issue Aug 14, 2019
NicolasGeraud added a commit to gravitee-io/gravitee-policy-request-validation that referenced this issue Aug 14, 2019
phiz71 added a commit to gravitee-io/gravitee-policy-request-validation that referenced this issue Aug 14, 2019

@phiz71 phiz71 closed this Aug 14, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.