Comment 1 for bug 1027788

Revision history for this message
zhoudonshu (zhoudongshu) wrote :

I has met this problem too. and I search git log and find this patch fix this bug:
commit 8935c3bde9e9635f65522488c1aca5df5b03050d
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.

    Change-Id: Ic888aa5d75050d6b14763c2a787ac8c8d5ab1f69