Comment 3 for bug 1027788

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (stable/folsom)

Reviewed: https://review.openstack.org/19151
Committed: http://github.com/openstack/nova/commit/63fd557ec42ea59aa77a2d4aca3c4f9c301320fd
Submitter: Jenkins
Branch: stable/folsom

commit 63fd557ec42ea59aa77a2d4aca3c4f9c301320fd
Author: Vishvananda Ishaya <email address hidden>
Date: Wed Nov 7 23:28:28 2012 -0800

    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.

    Fixes bug 1027788

    Change-Id: Ic888aa5d75050d6b14763c2a787ac8c8d5ab1f69
    (cherry picked from commit 8935c3bde9e9635f65522488c1aca5df5b03050d)