Argument validation for various API endpoints
Bug #1961595 reported by
Vadym Markov
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Dashboard (Horizon) |
In Progress
|
Undecided
|
Unassigned |
Bug Description
Currently, not all request handlers validate arguments passed from client. It leads to response 500 in case of malformed requests.
Affected endpoints:
1. http://<horizon url>/api/
resource_type is required argument here
2. https://<horizon url>/auth/
Redirect is not validated, in case of non-existing url it raises NoReverseMatch or 500 depending on dashboard config
Changed in horizon: | |
status: | New → In Progress |
To post a comment you must log in.
Fix proposed to branch: master /review. opendev. org/c/openstack /horizon/ +/830410
Review: https:/