You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
preview_open rejects about:blank as "Invalid preview URL (parse: https:)" #25641
normalizePreviewUrl adds https:// to any input without ://. about:blank becomes https://about:blank, new URL rejects the non-numeric port, and the error reports parse with protocol https:. So the message names neither the real input nor the real problem. The address-bar path (resolveAddressBarInput) lists about: as a known non-web scheme, but preview_open goes through normalizePreviewUrl directly (apps/server/src/preview/ServerBrowser.ts:1408).
Expected
Either about:blank opens a blank tab, or it's rejected as unsupported-protocol: about: with a hint like "omit url to open a blank tab". In both cases a scheme without // isn't turned into https://<scheme>:<rest>.
Where
packages/shared/src/preview.ts:183-210, normalizePreviewUrl (origin/main fe507c5a1e), line 189.
Activity