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

debugger works on urls with query string #2942

Merged
merged 1 commit into from
Aug 21, 2024
Merged

debugger works on urls with query string #2942

merged 1 commit into from
Aug 21, 2024

Conversation

davidism
Copy link
Member

@davidism davidism commented Aug 21, 2024

window.location at the beginning of some of the debugger URLs was causing URLs like /path?a=b?__debugger__=yes..., where the existing URL parameters would be part of location and the debugger would concatenate its own incorrectly. Remove window.location completely, so that the new URL is the current URL with the query string replaced. Refactor the URL code to have a common way to construct the URL.

fixes #2918

@davidism davidism added this to the 3.0.4 milestone Aug 21, 2024
@davidism davidism merged commit c09de73 into 3.0.x Aug 21, 2024
12 checks passed
@davidism davidism deleted the debugger-url branch August 21, 2024 19:30
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 5, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant