Skip to content

fix: escape URL passed to shell.openExternal on windows #28334

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

Merged
merged 1 commit into from
Mar 22, 2021

Conversation

MarshallOfSound
Copy link
Member

This aligns our openExternal behavior with upstream where the URL should be escaped before being sent to the external handler. Most applications expect a spec-compliant URI, this ensures they receive one.

Notes: URLS passed to shell.openExternal on windows are now correctly URI encoded. This was already occurring on macOS and Linux.

@MarshallOfSound MarshallOfSound added the semver/patch backwards-compatible bug fixes label Mar 22, 2021
@MarshallOfSound MarshallOfSound merged commit 94af0e8 into master Mar 22, 2021
@release-clerk
Copy link

release-clerk bot commented Mar 22, 2021

Release Notes Persisted

URLS passed to shell.openExternal on windows are now correctly URI encoded. This was already occurring on macOS and Linux.

@MarshallOfSound MarshallOfSound deleted the escape-url-on-windows branch March 22, 2021 23:33
@trop
Copy link
Contributor

trop bot commented Mar 22, 2021

I have automatically backported this PR to "10-x-y", please check out #28339

@trop
Copy link
Contributor

trop bot commented Mar 22, 2021

I have automatically backported this PR to "11-x-y", please check out #28340

@trop
Copy link
Contributor

trop bot commented Mar 22, 2021

I have automatically backported this PR to "12-x-y", please check out #28341

@trop
Copy link
Contributor

trop bot commented Mar 22, 2021

I have automatically backported this PR to "13-x-y", please check out #28342

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new-pr 🌱 PR opened recently semver/patch backwards-compatible bug fixes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants