diff --git a/web/lib/msgslib.ssjs b/web/lib/msgslib.ssjs
index c90a62c3615267210bab603c4c07b3f7dd528c2d..cd7b262c754deb555c2c006c7bb5a95da93abc80 100644
--- a/web/lib/msgslib.ssjs
+++ b/web/lib/msgslib.ssjs
@@ -183,6 +183,6 @@ function idx_to_user(fromidx)
 }
 
 function make_links(str) {
-   	   	str=str.replace(/(?:http|https|ftp|telnet|gopher|irc)\:\/\/[a-zA-Z0-9\-\.]+\.[a-zA-Z]+(?::[a-zA-Z0-9]*)?(?:\/(?:[a-zA-Z0-9\-._\?\,\/\\\+&%\$#\=~]*))?[^,.\(\)\s]/gi,'<a href="$&" target="_blank">$&</a>');
+   	   	str=str.replace(/(?:http|https|ftp|telnet|gopher|irc)\:\/\/[a-zA-Z0-9\-\.]+\.[a-zA-Z]+(?::[a-zA-Z0-9]*)?(?:\/(?:[a-zA-Z0-9\-._\?\,\/\\\+&%\$#\=~\*]*))?[^,.\(\)\s]/gi,'<a href="$&" target="_blank">$&</a>');
 	return(str)
 }