summaryrefslogtreecommitdiffstats
path: root/nova/exception.py
diff options
context:
space:
mode:
authorVishvananda Ishaya <vishvananda@gmail.com>2012-11-07 23:28:28 -0800
committerVishvananda Ishaya <vishvananda@gmail.com>2012-11-08 00:57:34 -0800
commit8935c3bde9e9635f65522488c1aca5df5b03050d (patch)
tree7cc37608d2c363a4b77bfef72bea9c67742dd3c3 /nova/exception.py
parent7f1f2ef86855d436bf7ff9ce7194eb90b857d518 (diff)
downloadnova-8935c3bde9e9635f65522488c1aca5df5b03050d.tar.gz
nova-8935c3bde9e9635f65522488c1aca5df5b03050d.tar.xz
nova-8935c3bde9e9635f65522488c1aca5df5b03050d.zip
Limit formatting routes when adding resources
By default, routes.mapper.Mapper.resource adds a bunch of formatted routes that accept anything after a '.'. Our spec says only .xml and .json are accepted so limit the formatting to those valuse. This allows identifiers with a '.' in urls. A few tests were added to the extensions test to prove that .xml and .json are stripped but other values are not. Change-Id: Ic888aa5d75050d6b14763c2a787ac8c8d5ab1f69
Diffstat (limited to 'nova/exception.py')
0 files changed, 0 insertions, 0 deletions