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

Let browser handle parsing of urls before relaying #1942

Merged
merged 1 commit into from
Mar 12, 2025

Conversation

ThinLinc-Zeijlon
Copy link
Contributor

Apparently there is some magic happening under the surface when the path-string containing a search query is assigned to url.pathname.

This is what caused ? to be translated to %3F.

We don't want to assign a path directly to url.pathname that contains a
search query, since this causes '?' at the beginning of the query to be
URL-encoded to '%3F'. Instead use URL() to parse the path for us.
@ThinLinc-Zeijlon ThinLinc-Zeijlon merged commit 59b674d into novnc:master Mar 12, 2025
11 checks passed
@ThinLinc-Zeijlon ThinLinc-Zeijlon deleted the fix-sub-url-query branch March 12, 2025 13:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants