Comment 3 for bug 1307956

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

Reviewed: https://review.openstack.org/87520
Committed: https://git.openstack.org/cgit/openstack/cinder/commit/?id=e71d982aa1a21ad7b952fcb8516a9610a5902afb
Submitter: Jenkins
Branch: master

commit e71d982aa1a21ad7b952fcb8516a9610a5902afb
Author: Inhye Park <email address hidden>
Date: Tue Apr 15 18:48:44 2014 +0900

    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.

    Closes-bug: #1307956
    Change-Id: I8f0b4ae3b10ea93890f6506662905bd5823412f5