Many APIs does not do schema validation for the inputs.

Bug #1771763 reported by dyyang@cn.ibm.com
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
zVM Cloud Connector
Confirmed
Medium
cao biao

Bug Description

We had removed the input validation in API layer, so we depends on the wsgi layer to do the validation.
But now we can find many handlers does not do the validation at all.

A few examples in handlers/guest.py:

guest_couple_uncouple_nic
guest_create_network_interface
guest_create_nic
...

Revision history for this message
jichenjc (jichenjc) wrote :

@Bill, can you help on this?

Changed in python-zvm-sdk:
assignee: nobody → cao biao (flytiger)
Revision history for this message
cao biao (flytiger) wrote :

of course, I will try to improve the coverage of validation.

cao biao (flytiger)
Changed in python-zvm-sdk:
status: New → In Progress
jichenjc (jichenjc)
Changed in python-zvm-sdk:
importance: Undecided → Medium
Huang Rui (bjhuangr)
Changed in python-zvm-sdk:
status: In Progress → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.