From: Evan Prodromou Date: Thu, 29 May 2008 18:16:23 +0000 (-0400) Subject: bad regex again X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=2acd91f16c83d1e2f59cf0d05d040ea09567dc60;p=quix0rs-gnu-social.git bad regex again darcs-hash:20080529181623-84dde-90c4ce5306cdc9df2696064184aec122083519c8.gz --- diff --git a/lib/util.php b/lib/util.php index 83717c66ee..8819022778 100644 --- a/lib/util.php +++ b/lib/util.php @@ -355,7 +355,7 @@ function common_render_content($text, $notice) { $r = htmlspecialchars($text); $id = $notice->profile_id; $r = preg_replace('/(^|\s)@([\w-]+)($|\s)/e', "'\\1@'.common_at_link($id, '\\2').'\\3'", $r); - $r = preg_replace('q'.URL_REGEX.'q', '\\0', $r); +# $r = preg_replace('q'.URL_REGEX.'q', '\\0', $r); # XXX: # tags # XXX: machine tags return $r;