# Fix Linux mailto URI handling \(\#64088\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 7ff8e1c25875d12b4f4543415bc2a11ae67d0e9f

Requested commit: 7ff8e1c25875d12b4f4543415bc2a11ae67d0e9f

Commit: 7ff8e1c25875d12b4f4543415bc2a11ae67d0e9f

Tree: a374c601b92a62f3a3980ff7ecce6ba51a130bda

Author: ancieg

Committer: GitHub

## Message

```
Fix Linux mailto URI handling (#64088)

Fixes #64071

# Objective

Fix `Help → Email Us...` on Linux when using an affected version of
`ashpd`.

The `mailto:` URI generated by Zed is valid, but older `ashpd` versions
incorrectly reject URIs that contain a scheme without `://`, causing the
URI to fail before it can be opened.

## Solution

Update the `ashpd` dependency to `0.13.5`, which contains the upstream
fix for URI parsing
([ashpd#385](https://github.com/bilelmoussaoui/ashpd/issues/385),
[ashpd#386](https://github.com/bilelmoussaoui/ashpd/pull/386)).

Also update `Cargo.lock` to ensure the fixed version is used.

## Testing

Verified that `cargo tree -p ashpd` resolves to `ashpd v0.13.5` and that
the project builds successfully.

## Self-Review Checklist:

- [x] I've reviewed my own diff for quality, security, and reliability
- [x] Unsafe blocks (if any) have justifying comments
- [x] The content adheres to Zed's UI standards
([UX/UI](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist)
and
[icon](https://github.com/zed-industries/zed/blob/main/crates/icons/README.md)
guidelines)
- [ ] Tests cover the new/changed behavior
- [x] Performance impact has been considered and is acceptable

## Showcase

Not applicable. This PR does not introduce a visual change or new
user-facing UI.

---

Release Notes:

- Fixed Linux `mailto:` URI handling when using `Help → Email Us...`.

---------

Co-authored-by: Kirill Bulatov <mail4score@gmail.com>
```

## Parents

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

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