8000 Upgrade 2.8/3.0 - missing information about generating absolute url · Issue #19058 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content
Upgrade 2.8/3.0 - missing information about generating absolute url #19058
Closed
@zdenekdrahos

Description

@zdenekdrahos

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0