8000 [WebProfilerBundle]: hard-coded route path leads to incorrect URL · Issue #24868 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

[WebProfilerBundle]: hard-coded route path leads to incorrect URL #24868

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
mtibben opened this issue Nov 8, 2017 · 1 comment
Closed

[WebProfilerBundle]: hard-coded route path leads to incorrect URL #24868

mtibben opened this issue Nov 8, 2017 · 1 comment

Comments

@mtibben
Copy link
Contributor
mtibben commented Nov 8, 2017
Q A
Bug report? yes
Symfony version 3.3.10

#19973 added a default IDE file link web view, however the URL it uses is hard-coded in Resources/config/profiler.xml rather than using the route at Resources/config/routing/profiler.xml.

This means that if you use a route prefix e.g.

_profiler:
    resource: "@WebProfilerBundle/Resources/config/routing/profiler.xml"
    prefix:   /my-prefix/_profiler

the URL produced by debug.file_link_formatter is /_profiler/open instead of /my-prefix/_profiler/open

@mtibben mtibben changed the title WebProfileBundle: hard-coded route path leads to incorrect URL [WebProfilerBundle]: hard-coded route path leads to incorrect URL Nov 8, 2017
@javiereguiluz
Copy link
Member

@mtibben thanks for reporting this issue. However, it's a duplicate of #22290 which is being resolved in #24153.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants
0