Skip to content

The open alternative to Salesforce, designed for AI.

Fix LinkedIn URL special character formatting (#7249)

ad-eliasc9e882f4c071
diff --git a/packages/twenty-front/src/utils/getDisplayValueByUrlType.ts b/packages/twenty-front/src/utils/getDisplayValueByUrlType.ts
index 75cf16fa197..5e5087d5c0b 100644
--- a/packages/twenty-front/src/utils/getDisplayValueByUrlType.ts
+++ b/packages/twenty-front/src/utils/getDisplayValueByUrlType.ts
@@ -16,7 +16,7 @@ export const getDisplayValueByUrlType = ({
/(?:https?:\/\/)?(?:www.)?linkedin.com\/(?:in|company|school)\/(.*)/,
);
if (isDefined(matches?.[1])) {
- return matches?.[1];
+ return decodeURIComponent(matches?.[1]);
} else {
return 'LinkedIn';
}