# Fix panic when opening an invalid URL \(\#42483\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/a56693d9e830fa4defc1b748144d571b9dc8271d)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: a56693d9e830fa4defc1b748144d571b9dc8271d

Requested commit: a56693d9e830fa4defc1b748144d571b9dc8271d

Commit: a56693d9e830fa4defc1b748144d571b9dc8271d

Tree: 8b189122c8bb62ab456798c9dc550e1b06844a5a

Author: Richard Feldman

Committer: GitHub

## Message

```
Fix panic when opening an invalid URL (#42483)

Now instead of a panic we see this:

<img width="511" height="132" alt="Screenshot 2025-11-11 at 3 47 25 PM"
src="https://github.com/user-attachments/assets/48ba2f41-c5c0-4030-9331-0d3acfbf9461"
/>


Release Notes:

- Trying to open invalid URLs in a browser now shows an error instead of
panicking
```

## Parents

- [b4b7a23c39b3339d09c307c386913713f4368a49](https://git.cafe/gitcafe/zed/commit/b4b7a23c39b3339d09c307c386913713f4368a49?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/a56693d9e830fa4defc1b748144d571b9dc8271d?format=markdown)
