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

fix: limit usage of shell.openExternal to web URLs #1605

Merged
merged 1 commit into from
Jul 9, 2024

Conversation

dsanders11
Copy link
Member

Follow our own security guidelines here and limit what we pass through to shell.openExternal.

@dsanders11 dsanders11 force-pushed the fix/shell-open-external-web branch 2 times, most recently from bc28259 to cf230e6 Compare July 6, 2024 20:05
@coveralls
Copy link

Coverage Status

coverage: 87.398% (-0.07%) from 87.472%
when pulling cf230e6 on fix/shell-open-external-web
into a47fdfd on main.

@dsanders11 dsanders11 marked this pull request as ready for review July 9, 2024 16:37
@dsanders11 dsanders11 requested review from codebytere and a team as code owners July 9, 2024 16:37
Copy link
Member

@yangannyx yangannyx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

src/main/windows.ts Outdated Show resolved Hide resolved
@coveralls
Copy link

Coverage Status

coverage: 87.486% (+0.01%) from 87.472%
when pulling e5dea0e on fix/shell-open-external-web
into a47fdfd on main.

@erickzhao erickzhao merged commit 799d881 into main Jul 9, 2024
9 checks passed
@erickzhao erickzhao deleted the fix/shell-open-external-web branch July 9, 2024 17:56
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.

5 participants