From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS63949 64.71.152.0/24 X-Spam-Status: No, score=-2.2 required=3.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE, RDNS_NONE,SPF_HELO_PASS,SPF_PASS shortcircuit=no autolearn=no autolearn_force=no version=3.4.0 Received: from 80x24.org (unknown [64.71.152.64]) by dcvr.yhbt.net (Postfix) with ESMTP id 7863720954 for ; Thu, 7 Dec 2017 20:30:56 +0000 (UTC) From: Eric Wong To: meta@public-inbox.org Subject: [PATCH] searchview: nofollow on mbox downloads Date: Thu, 7 Dec 2017 20:30:56 +0000 Message-Id: <20171207203056.5347-1-e@80x24.org> List-Id: Some search results are gigantic, and search engines are unlikely to be able to handle gzipped mboxes anyways. --- lib/PublicInbox/SearchView.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/PublicInbox/SearchView.pm b/lib/PublicInbox/SearchView.pm index 3eff708..8e0c3cf 100644 --- a/lib/PublicInbox/SearchView.pm +++ b/lib/PublicInbox/SearchView.pm @@ -168,7 +168,8 @@ sub search_nav_top { $rv .= qq{|Atom feed]}; my $m = $q->qs_html(x => 'm', r => undef); warn "m: $m\n"; - $rv .= qq{\n\t\t\t\t\t\tdownload: mbox.gz}; + $rv .= qq{\n\t\t\t\t\t\tdownload: }; + $rv .= qq{mbox.gz}; } sub search_nav_bot { -- EW