-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
Ajax debug toolbar display only request starting with "/" #12221
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
Comments
For the |
I am experiencing the same issue: simply removing the first part ( In my opinion, I do not care whether external ajax requests are given in this overview. I think it is more important to see all my own AJAX requests, instead of missing them because of this. I can also imagine that we want to filter the external URL's, but I would do that somewhat else. Possible solutions:
Simply changing the AJAX urls is not an option for me, as they are not generated directly with Symfony within a template, but from an exposed routing export, as sometimes variables still need to be filled in. @fabpot: If wanted, I can create an PR for the 2.6 branch. Could you elaborate on the best solution? |
I am experiencing the same issue |
…javiereguiluz) This PR was merged into the 2.7 branch. Discussion ---------- Allow absolute URLs to be displayed in the debug toolbar | Q | A | ------------- | --- | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | #12221 | License | MIT | Doc PR | - If you agree with the original issue, this should do the trick. If you don't agree, please explain the reasons and close #12221. Thanks! Commits ------- 11b63ff Allow absolute URLs to be displayed in the debug toolbar
I am just testing the new ajax debug toolbar and my request are not visible in the profiler.
It works if the url are relatives and not absolute.
"http://localhost/sf_test/app_dev.php/demo/test" is not handled, but "/sf_test/app_dev.php/demo/test" works.
That seems normal regarding this code:
https://github.com/symfony/symfony/blob/master/src/Symfony/Bundle/WebProfilerBundle/Resources/views/Profiler/base_js.html.twig#L181
excluded path does not work also:
"http://localhost/sf_test/app_dev.php/_wdt" does not match regexp "^/_wdt".
Did I miss something ?
tested on Firefox and Chrome (Ubuntu)
The text was updated successfully, but these errors were encountered: