Fix Git permalinks not being URL-escaped (#39895)

Closes #39875

Release Notes:

- Fixed "open/copy permalink to line" paths not being URL-escaped

Co-authored-by: Cole Miller <cole@zed.dev>
c24f365b69Andrew Farkas committed on 10/9/2025, 6:33:05 PM· committed by GitHubparent2dfde55
12 files changedLine totals unavailable