image cache middleware should only used unconsumed request path
Bug #1026222 reported by
Brian Waldon
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance |
Fix Released
|
Low
|
Brian Waldon |
Bug Description
The image cache middleware uses webob.Request.path for its url matching. It should use path_info. An upstream middleware is setting the full path to something like /v1/v1/images/XXX. The regular expression in the image cache does work for this match, but it has to take into account the multiple versions. It shouldn't have to do that.
Changed in glance: | |
status: | Fix Committed → Fix Released |
Changed in glance: | |
milestone: | folsom-3 → 2012.2 |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/9970
Review: https:/