Comment 2 for bug 1026222

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to glance (master)

Reviewed: https://review.openstack.org/9970
Committed: http://github.com/openstack/glance/commit/dc2f241c115507f8e5c4e7841739f2b8303943e2
Submitter: Jenkins
Branch: master

commit dc2f241c115507f8e5c4e7841739f2b8303943e2
Author: Brian Waldon <email address hidden>
Date: Wed Jul 18 09:22:02 2012 -0700

    Match path_info in image cache middleware

    The url matching code in the image cache middleware should only look at
    the unconsumed path, not the full path. Webob denotes this by using
    'path_info' instead of 'path.'

    This also adds some tests for the version negotiation middleware to ensure
    it is returning a sane path for the image cache middleware to match.

    Fixes bug 1026222

    Change-Id: I522e2210e2b7272f9bb47602510a2910fa193415