* [gentoo-commits] proj/gentoo-bugzilla:master commit in: /
@ 2019-07-22 20:34 Robin H. Johnson
0 siblings, 0 replies; 3+ messages in thread
From: Robin H. Johnson @ 2019-07-22 20:34 UTC (permalink / raw
To: gentoo-commits
commit: a4b5fb2ffbdffd35f6628739cb6e9c766c838ee1
Author: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
AuthorDate: Mon Jul 22 20:28:15 2019 +0000
Commit: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
CommitDate: Mon Jul 22 20:30:38 2019 +0000
URL: https://gitweb.gentoo.org/proj/gentoo-bugzilla.git/commit/?id=a4b5fb2f
robots.txt: allow more indexing
A long time ago, web crawlers were discouraged from using SSL to crawl
bugzilla, because of CPU load caused in SSL, and that it was a duplicate
of results on the non-SSL side and the bots got that wrong.
In the SSL-Everywhere world, with forced upgrades to SSL, and cheaper
CPU, this was never revisited, and means that Gentoo Bugzilla isn't on
Google. Re-enable the safer terms, and let the bots come in!
Fixes: https://bugs.gentoo.org/show_bug.cgi?id=690438
Signed-off-by: Robin H. Johnson <robbat2 <AT> gentoo.org>
robots-ssl.txt | 13 ++++++-------
1 file changed, 6 insertions(+), 7 deletions(-)
diff --git a/robots-ssl.txt b/robots-ssl.txt
index 3e832535d..808943e32 100644
--- a/robots-ssl.txt
+++ b/robots-ssl.txt
@@ -1,11 +1,10 @@
User-agent: *
-Disallow: *
-Disallow: /
-Disallow: /index.cgi
-Disallow: /show_bug.cgi
-Disallow: /attachment.cgi
-Disallow: /data/duplicates.rdf
-Disallow: /data/cached/
+Allow: /
+Allow: /index.cgi
+Allow: /show_bug.cgi
+Allow: /attachment.cgi
+Allow: /data/duplicates.rdf
+Allow: /data/cached/
Disallow: /query.cgi
Disallow: /enter_bug.cgi
Disallow: /userprefs.cgi
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] proj/gentoo-bugzilla:master commit in: /
@ 2019-07-23 5:58 Robin H. Johnson
0 siblings, 0 replies; 3+ messages in thread
From: Robin H. Johnson @ 2019-07-23 5:58 UTC (permalink / raw
To: gentoo-commits
commit: d5fb1483cc3b05aff17804a57cd05e5882fc34ae
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Dec 1 12:07:57 2018 +0000
Commit: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
CommitDate: Tue Jul 23 05:57:24 2019 +0000
URL: https://gitweb.gentoo.org/proj/gentoo-bugzilla.git/commit/?id=d5fb1483
attachment: Force utf-8 if no charset is explicitly specified
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
(cherry picked from commit 5b3ece55946468a5571fd4c7309480aac267a6a9)
Signed-off-by: Robin H. Johnson <robbat2 <AT> gentoo.org>
attachment.cgi | 8 +-------
1 file changed, 1 insertion(+), 7 deletions(-)
diff --git a/attachment.cgi b/attachment.cgi
index 2f04e9594..3f0ff22ba 100755
--- a/attachment.cgi
+++ b/attachment.cgi
@@ -355,13 +355,7 @@ sub view {
if ($contenttype !~ /\bcharset=/i) {
# In order to prevent Apache from adding a charset, we have to send a
# charset that's a single space.
- $cgi->charset(' ');
- if (Bugzilla->feature('detect_charset') && $contenttype =~ /^text\//) {
- my $encoding = detect_encoding($attachment->data);
- if ($encoding) {
- $cgi->charset(find_encoding($encoding)->mime_name);
- }
- }
+ $cgi->charset('UTF-8');
}
print $cgi->header(-type=>"$contenttype; name=\"$filename\"",
-content_disposition=> "$disposition; filename=\"$filename\"",
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] proj/gentoo-bugzilla:master commit in: /
@ 2019-09-13 20:16 Michał Górny
0 siblings, 0 replies; 3+ messages in thread
From: Michał Górny @ 2019-09-13 20:16 UTC (permalink / raw
To: gentoo-commits
commit: 78489b4fa10db20b52766a10146c95b66cc4b2d9
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 13 07:42:35 2019 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Sep 13 20:16:12 2019 +0000
URL: https://gitweb.gentoo.org/proj/gentoo-bugzilla.git/commit/?id=78489b4f
Do not add cloned bug to 'depends on'
Bug: https://bugs.gentoo.org/521230
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
enter_bug.cgi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/enter_bug.cgi b/enter_bug.cgi
index e03a88528..0a74af830 100755
--- a/enter_bug.cgi
+++ b/enter_bug.cgi
@@ -208,7 +208,7 @@ if ($cloned_bug_id) {
$vars->{'short_desc'} = $cloned_bug->short_desc;
$vars->{'bug_file_loc'} = $cloned_bug->bug_file_loc;
$vars->{'keywords'} = $cloned_bug->keywords;
- $vars->{'dependson'} = join (", ", $cloned_bug_id, @{$cloned_bug->dependson});
+ $vars->{'dependson'} = join (", ", @{$cloned_bug->dependson});
$vars->{'blocked'} = join (", ", @{$cloned_bug->blocked});
$vars->{'deadline'} = $cloned_bug->deadline;
$vars->{'estimated_time'} = $cloned_bug->estimated_time;
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-09-13 20:16 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-07-22 20:34 [gentoo-commits] proj/gentoo-bugzilla:master commit in: / Robin H. Johnson
-- strict thread matches above, loose matches on Subject: below --
2019-07-23 5:58 Robin H. Johnson
2019-09-13 20:16 Michał Górny
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox