]> git.ipfire.org Git - thirdparty/AWStats.git/commitdiff
New: Add rel=nofollow on links
authoreldy <>
Wed, 19 Jan 2011 12:52:43 +0000 (12:52 +0000)
committereldy <>
Wed, 19 Jan 2011 12:52:43 +0000 (12:52 +0000)
wwwroot/cgi-bin/awstats.pl

index 92c49d0238a12bae0eb382f89d85ff6416fbb711..dfbcac6663f1f06c16d507c7a23d9a457e5fa3db 100644 (file)
@@ -8787,7 +8787,7 @@ sub HTMLShowURLInfo {
                        {    # URL seems to be extracted from a proxy log file
                                print "<a href=\""
                                  . XMLEncode("$newkey")
-                                 . "\" target=\"url\">"
+                                 . "\" target=\"url\" rel=\"nofollow\">"
                                  . XMLEncode($nompage) . "</a>";
                        }
                        elsif ( $newkey =~ /^\// )
@@ -8802,7 +8802,7 @@ sub HTMLShowURLInfo {
                                }
                                print "<a href=\""
                                  . XMLEncode("$urlprot://$SiteDomain$newkey")
-                                 . "\" target=\"url\">"
+                                 . "\" target=\"url\" rel=\"nofollow\">"
                                  . XMLEncode($nompage) . "</a>";
                        }
                        else {