From effcc512d52b6bfca05db4df18087bbc2ca8057e Mon Sep 17 00:00:00 2001 From: Sebastin Santy Date: Fri, 21 Apr 2017 23:38:47 +0530 Subject: Bug 1355100 - Add rel=nofollow to all external links in bug comments Refer https://support.google.com/webmasters/answer/96569\?hl\=en --- Bugzilla/Template.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Bugzilla/Template.pm b/Bugzilla/Template.pm index 9cac9ad87..65396b96d 100644 --- a/Bugzilla/Template.pm +++ b/Bugzilla/Template.pm @@ -200,7 +200,7 @@ sub quoteUrls { my $safe_protocols = SAFE_URL_REGEXP(); $text =~ s~\b($safe_protocols) ~($tmp = html_quote($1)) && - ($things[$count++] = "$tmp") && + ($things[$count++] = "$tmp") && ("\x{FDD2}" . ($count-1) . "\x{FDD3}") ~egox; -- cgit v1.2.3-24-g4f1b