diff --git a/apps/meteor/client/views/room/MessageList/components/UrlPreview/PreviewList.tsx b/apps/meteor/client/views/room/MessageList/components/UrlPreview/PreviewList.tsx index 8b1b23a5c11dd..dd6c5862ed071 100644 --- a/apps/meteor/client/views/room/MessageList/components/UrlPreview/PreviewList.tsx +++ b/apps/meteor/client/views/room/MessageList/components/UrlPreview/PreviewList.tsx @@ -57,7 +57,7 @@ export const buildImageURL = (url: string, imageUrl: string): string => { const { origin } = new URL(url); const imgURL = `${origin}/${imageUrl}`; - const normalizedUrl = imgURL.replace(/(?