OpenStack Image Management (Glance)
Go to file
Mike Fedosin f9820a25d3 Add sort key validation in v2 api
Since v2 api has no sort key validation and the default
pagination check is used it's possible to request something
like /images?sort_key=_sa_class_manager, which causes an
inner SQL exception with 500 response code from the server.

This code validates input sort key and raises an exception
if the parameter is out of the supported keys list.

Closes-bug: 1400366

Change-Id: I0cf58ad198375a2f6f58bd7820cbb9d86003247a
2014-12-22 10:49:56 +00:00
doc/source Complete the change of adding public_endpoint option 2014-10-23 13:15:01 +08:00
etc Disable osprofiler by default 2014-11-27 11:31:18 +00:00
glance Add sort key validation in v2 api 2014-12-22 10:49:56 +00:00
rally-jobs Update rally-jobs files 2014-11-25 01:18:12 +04:00
tools Update glance.openstack.common 2014-10-16 11:12:18 +08:00
.coveragerc Update .coveragerc 2013-02-06 16:47:06 +02:00
.gitignore vim ropeproject directories added to gitignore 2014-11-05 16:44:33 +04:00
.gitreview Add .gitreview config file for gerrit. 2011-10-24 11:02:16 -04:00
.mailmap Add a mailmap entry for myself 2014-02-11 12:00:44 +08:00
.testr.conf Switch to testrepository for running tests 2014-01-29 08:30:55 +08:00
CONTRIBUTING.rst Add CONTRIBUTING.rst 2014-07-01 09:32:54 +08:00
HACKING.rst Enforce using six.text_type() over unicode() 2014-09-18 09:51:04 +00:00
LICENSE Add a LICENSE file. 2012-01-03 10:14:01 -05:00
MANIFEST.in Update version code from oslo. 2013-01-13 14:27:48 -08:00
README.rst Glance Metadata Definitions Catalog - Seed 2014-08-28 10:47:36 -04:00
babel.cfg Added first step of babel-based translations. 2012-02-28 02:00:37 -08:00
openstack-common.conf Remove modules from openstack-common.conf 2014-10-21 10:41:47 +02:00
pylintrc Packaging fixups 2010-10-21 15:51:44 -04:00
requirements.txt Updated from global requirements 2014-11-27 21:41:59 +00:00
run_tests.sh Run tests with default concurrency 0 2014-09-30 11:37:02 +00:00
setup.cfg Remove Python 2.6 classifier 2014-11-25 17:00:14 +01:00
setup.py Updated from global requirements 2014-06-19 13:54:45 -04:00
test-requirements.txt Updated from global requirements 2014-11-27 21:41:59 +00:00
tox.ini Remove Python 2.6 classifier 2014-11-25 17:00:14 +01:00

README.rst

Glance

Glance is a project that defines services for discovering, registering, retrieving and storing virtual machine images. Use the following resources to learn more: * Official Glance documentation * Official Client documentation