diff --git a/client/src/app/pages/dashboard/users/UserPage.tsx b/client/src/app/pages/dashboard/users/UserPage.tsx index 57ae7fbfb..658f63224 100644 --- a/client/src/app/pages/dashboard/users/UserPage.tsx +++ b/client/src/app/pages/dashboard/users/UserPage.tsx @@ -29,7 +29,7 @@ export default function UserPage({ reqUser }: Props) { } function InferLinks(aboutMe: string) { - return aboutMe.replace(/(https?:\/\/[^\s]+)(\s)/gu, "[$1]($1)$2"); + return aboutMe.replace(/(https?:\/\/[a-zA-Z0-9-._~?&=]+)(\s*)/gu, "[$1]($1)$2"); } function AboutMeCard({ reqUser }: Props) {