fixed now:
https://github.com/symfony/symfony/commit/98e70f0963b4709d89aeba64646ce328a45c7483
Fabien
--
Fabien Potencier
Sensio CEO - Symfony lead developer
sensiolabs.com | symfony.com | fabien.potencier.org
Tél: +33 1 40 99 80 80
On 4/26/11 1:53 PM, John Wards wrote:
We use the prefix notation in our routing.yml file so:
app/config/routing.yml:
_food_risc_admin:
resource: "@WhiteOctoberFoodRiscAdminBundle/Resources/config/routing.yml"
type: rest
prefix: admin
However this morning after updating symfony the routes were no longer
matching. Router dump was showing the routes normally. However in the
appdevUrlMatcher.php file the test to match the path was like this:
if (0 === strpos($pathinfo, 'admin')) {
Changing the prefix to /admin in my routing.yml fixes the issue.
However this feels like a bit of a hack around a problem? Should the
router compiler fall over saying that the route isn't valid (as its
the parent and should start with /) or should the matcher code in
app/cache be fixed?
John
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You received this message because you are subscribed to the Google
Groups "symfony developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-devs?hl=en