Skip to content

Open Hugging Face links in the system browser - #4

Merged
Azayzel merged 1 commit into
mainfrom
copilot/verify-hugging-face-uri-restriction
Sep 28, 2026
Merged

Azayzel merged 1 commit into
mainfrom
copilot/verify-hugging-face-uri-restriction

Conversation

Copilot AI commented Sep 28, 2026

Copy link
Copy Markdown
Contributor

Ordinary Hugging Face links were silently blocked by Electron’s navigation handler in both release and development builds. Catalog links were already allowed, but browser-launch failures were not surfaced.

  • External navigation: Route HTTPS links to the system browser while blocking in-app navigation and popups. Reject malformed URLs, embedded credentials, and unsupported schemes.
  • Development isolation: Match the development server’s exact origin rather than a URL prefix.
  • Failure handling: Display catalog launch errors with default-browser guidance; catch and log failures from ordinary links.

Co-authored-by: Azayzel <17281152+Azayzel@users.noreply.github.com>
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