Skip to content

fix(share-badge): remove double URL encoding in LinkedIn share dialog#2047

Open
fatimakay wants to merge 1 commit intodevelopfrom
fix/linkedin-share-double-encoding
Open

fix(share-badge): remove double URL encoding in LinkedIn share dialog#2047
fatimakay wants to merge 1 commit intodevelopfrom
fix/linkedin-share-double-encoding

Conversation

@fatimakay
Copy link
Copy Markdown

@fatimakay fatimakay commented May 7, 2026

See Issue #2046

Values passed to URLSearchParams were being manually encodeURIComponent'd first, causing double-encoding. LinkedIn decodes one layer, leaving Competent%20Developer and https%3A%2F%2F...etc. displayed literally in the name and credential URL fields. Removing the manual encoding lets URLSearchParams handle it correctly.

@fatimakay fatimakay requested a review from onemanwenttomow May 7, 2026 18:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant