Skip to content

Add vscode:// and replit:// to external protocol allowlist#151

Merged
sergeichestakov merged 1 commit intomainfrom
@sergeichestakov/allow-more-protocols
Mar 11, 2024
Merged

Add vscode:// and replit:// to external protocol allowlist#151
sergeichestakov merged 1 commit intomainfrom
@sergeichestakov/allow-more-protocols

Conversation

@sergeichestakov
Copy link
Copy Markdown
Contributor

@sergeichestakov sergeichestakov commented Mar 11, 2024

Why

We want replit:// links to work in the app for obvious reasons (e.g. performing actions or opening new windows via links) and also want to support vscode:// URLs explicitly so that the new "Open in VS Code" button and relevant SSH functionality works as expected (see attached Linear task).

Fixes WS-3018

What changed

Add vscode:// and replit:// to external protocol allowlist

Test plan

  • Open replit:// and/or vscode:// links from the app -> works
  • New "Open in VS Code" button works as expected in the desktop app
  • Opening http(s) external links still works as expected in the app

@sergeichestakov sergeichestakov self-assigned this Mar 11, 2024
@linear
Copy link
Copy Markdown

linear bot commented Mar 11, 2024

WS-3018 Open in VS Code doesn't work in the desktop app

We block you from opening custom (non http(s)) URIs so the vscode:// URL fails to open with no indication of what went wrong.

@sergeichestakov sergeichestakov requested review from a team, Monkatraz and szymonkaliski and removed request for a team March 11, 2024 21:44
@sergeichestakov sergeichestakov merged commit 2474d99 into main Mar 11, 2024
@sergeichestakov sergeichestakov deleted the @sergeichestakov/allow-more-protocols branch March 11, 2024 21:59
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