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.
Reviewed: https:/ /review. openstack. org/9970 github. com/openstack/ glance/ commit/ dc2f241c115507f 8e5c4e7841739f2 b8303943e2
Committed: http://
Submitter: Jenkins
Branch: master
commit dc2f241c115507f 8e5c4e7841739f2 b8303943e2
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: I522e2210e2b727 2f9bb47602510a2 910fa193415