Skip to content
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

HTTP Profiler, url turns out wrong #880

Open
Cisvhenriksen opened this issue Mar 6, 2017 · 6 comments
Open

HTTP Profiler, url turns out wrong #880

Cisvhenriksen opened this issue Mar 6, 2017 · 6 comments

Comments

@Cisvhenriksen
Copy link

When activating HTTP Profiler som settings, base url repeats itself and breaks when trying to open using profiler panel in phpStorm 2016.3.2

php version: 7.1.2
xDebug: 2.5.1
Symfony Plugin: v0.13.137

base url: http://127.0.0.1:8000

Using profiler panel and opening an event. url turns into this: http://127.0.0.1:8000/http://127.0.0.1:8000/_profiler/xxxxx

@stof
Copy link
Contributor

stof commented Mar 6, 2017

Recent Symfony versions are using an absolute URL in the header (to avoid having to resolve it manually in the AJAX panel of the toolbar when having AJAX requests to a separate server for instance).
The plugin should detect whether the header contains an absolute URL or no, and add the base URL only when it is not already absolute.

@Cisvhenriksen
Copy link
Author

So what do you propose as a solution? have used way to much time already, and can not get it working?

@Haehnchen
Copy link
Owner

just wait until i fix it :)

@stof
Copy link
Contributor

stof commented Mar 7, 2017

@Cisvhenriksen my comment was here to give the root cause of the issue to make it easier for @Haehnchen to fix it. I don't think you can have a workaround for it.
Access the profiler UI in your browser with its search UI instead in the meantime.

@Cisvhenriksen
Copy link
Author

@stof Perfect, sorry was confused :-)
@Haehnchen Keep up the great work, really liking it a lot 👍

@Haehnchen
Copy link
Owner

absolute urls added, but new dump values missing for _controller ,..

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