[openstack-dev] [Nova][Horizon] Is there precedent for validating user input on data types to APIs?

Matt Riedemann mriedem at us.ibm.com
Sun Jul 14 19:47:45 UTC 2013

I'm triaging nova bug 1199539 and trying to determine if this should be 
routed to Horizon, checked in the nova API layer, or just rejected as a 
usage error.  In this case, the DB excepts an integer but an empty string 
is being passed in from the user via Horizon.  I don't know if Horizon is 
doing type checking on user input already and if so, we should just route 
to Horizon?  Or if this is something to check in the nova code itself (or 
just reject it)?


Advisory Software Engineer
Cloud Solutions and OpenStack Development

Phone: 1-507-253-7622 | Mobile: 1-507-990-1889
E-mail: mriedem at us.ibm.com

3605 Hwy 52 N
Rochester, MN 55901-1407
United States
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20130714/58549786/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 1851 bytes
Desc: not available
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20130714/58549786/attachment.gif>

More information about the OpenStack-dev mailing list