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

HTTP code should be set to 400 in case of improper payload sent to the stack_license endpoint #168

Open
tisnik opened this issue Jan 10, 2019 · 0 comments
Labels

Comments

@tisnik
Copy link
Member

tisnik commented Jan 10, 2019

Currently, the stack_license endpoint does not contain any check if the payload sent to this endpoint is correct. It means that the service fail later with HTTP code 500, and not with HTTP code 400.

Possible fix:

  1. check payload right after it is received
  2. respond accordingly

Report made by BAF can be seen here:
https://fabric8-analytics.github.io/fuzz-tests/recommender_stack_license_issue_168.htm

@tisnik tisnik added the bug label Jan 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant