From 0ad0386f275ccd5bd1e8ff0898fb4b6cc0ec0fa9 Mon Sep 17 00:00:00 2001 From: Matt Mullenweg Date: Fri, 6 Feb 2004 18:04:35 +0000 Subject: [PATCH] Comment author link should not strip tildes or plus signs. git-svn-id: https://develop.svn.wordpress.org/trunk@840 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/template-functions-comment.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/template-functions-comment.php b/wp-includes/template-functions-comment.php index 5f9e84ddcf..739bb3f17d 100644 --- a/wp-includes/template-functions-comment.php +++ b/wp-includes/template-functions-comment.php @@ -106,7 +106,7 @@ function comment_author_link() { } $url = str_replace('http://url', '', $url); - $url = preg_replace('|[^a-z0-9-_.?#=&;,/:]|i', '', $url); + $url = preg_replace('|[^a-z0-9-~+_.?#=&;,/:]|i', '', $url); if (empty($url) && empty($email)) { echo $author; return;