Skip to content

Encode Spaces #104

@joshmedeski

Description

@joshmedeski

Describe the bug
I was trying to create a link that has a space in the URL

I expected all characters to be encoded into a valid URL

https://github.com/joshmedeski/dotfiles/blob/7a2f275e57d4a5e53da733bccfd8b2bca1928627/Library/Application%20Support/lazygit/config.yml#L85

The space was not encoded and created an invalid URL (See "Application Support" in URL below)

https://github.com/joshmedeski/dotfiles/blob/7a2f275e57d4a5e53da733bccfd8b2bca1928627/Library/Application Support/lazygit/config.yml#L85

To Reproduce

Generate a link that points to a directory that includes a space.

Expected behavior
Encode the URL values before copying it to the clipboard.

System (please complete the following information):

  • OS: macOS
  • neovim --version v0.9.5
  • git --version git version 2.39.3 (Apple Git-145)

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions