8000 `absolute_url()` generates wrong URL for assets · Issue #13724 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content
absolute_url() generates wrong URL for assets #13724
Closed
@sgehrig

Description

@sgehrig

Using the 2.7 branch the standard error page uses

absolute_url(asset('bundles/framework/css/structure.css'))

to generate the CSS reference. Running in development mode (app_dev.php) this generates

http://localhost:8080/web/app_dev.php/web/bundles/framework/css/structure.css

on my development machine. The correct URL would be

http://localhost:8080/web/bundles/framework/css/structure.css

This is most likely related to #13264 or perhaps it's just that I'm doing something wrong here.

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