Closed
Description
Documentation 2.6 generates absolute url with true
. Newer documentation uses constant. But the change is not mentioned in upgrade guide, not even in routing's changelog:
symfony | code | url |
---|---|---|
2.8 | $router->generate('...', [], true) |
http:/www.example.com/page |
3.0 | $router->generate('...', [], true) |
/page |
There was deprecation but that can be very easily missed when absolute url is generated in AJAX call. We've found this little bug in generated url 3 months after upgrading to SF3. It's nothing critical, but it should be mentioned at least in upgrade guide.
Metadata
Metadata
Assignees
Labels
No labels