Skip to content

gh13653: fix copy url button/shortcut to respect decodeURLsOnCopy spec#13659

Open
ashvwinn wants to merge 1 commit into
zen-browser:devfrom
ashvwinn:decode-urls-on-copy
Open

gh13653: fix copy url button/shortcut to respect decodeURLsOnCopy spec#13659
ashvwinn wants to merge 1 commit into
zen-browser:devfrom
ashvwinn:decode-urls-on-copy

Conversation

@ashvwinn
Copy link
Copy Markdown

Decodes URL on copy by shortcut/button if browser.urlbar.decodeURLsOnCopy is true
fixes #13653

@ashvwinn ashvwinn requested a review from mr-cheffy as a code owner May 11, 2026 18:15
@dosubot dosubot Bot added the size:S This PR changes 10-29 lines, ignoring generated files. label May 11, 2026
Copy link
Copy Markdown
Member

@mr-cheffy mr-cheffy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ashvwinn
Copy link
Copy Markdown
Author

ashvwinn commented May 11, 2026

This uses the URL that the user selected which is not encoded. But getting currentURI directly with the API will return the encoded URI. Unless I am missing something.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:S This PR changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

"Copy URL" button/shortcut does not respect decodeURLsOnCopy flag

2 participants