summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Lawrence <dlawrence@mozilla.com>2013-07-03 23:59:50 +0200
committerDave Lawrence <dlawrence@mozilla.com>2013-07-03 23:59:50 +0200
commit22317d36b5c665078858189b04a7932b99257050 (patch)
treef81470d981a47041b043c31e2c70897cf0e0bdf7
parent6df160df8d911bc11f6dbe8889bdaa0e89460fd3 (diff)
downloadbugzilla-22317d36b5c665078858189b04a7932b99257050.tar.gz
bugzilla-22317d36b5c665078858189b04a7932b99257050.tar.xz
Bug 889244 - Use of Google Analytics is exposing bug titles for secure bugs
-rw-r--r--extensions/BMO/template/en/default/hook/global/header-additional_header.html.tmpl3
1 files changed, 3 insertions, 0 deletions
diff --git a/extensions/BMO/template/en/default/hook/global/header-additional_header.html.tmpl b/extensions/BMO/template/en/default/hook/global/header-additional_header.html.tmpl
index 5f8965d5d..ddfa03e72 100644
--- a/extensions/BMO/template/en/default/hook/global/header-additional_header.html.tmpl
+++ b/extensions/BMO/template/en/default/hook/global/header-additional_header.html.tmpl
@@ -56,6 +56,9 @@
[% IF urlbase == 'https://bugzilla.mozilla.org/' %]
<script type="text/javascript">
var _gaq = _gaq || [];
+ [% IF bug.defined && bug.groups_in.size %]
+ _gaq.push(["_set", "title", "[%+ bug.id FILTER none %] – (private bug)"]);
+ [% END %]
_gaq.push(['_setAccount', 'UA-36116321-3']);
_gaq.push(['_trackPageview']);
(function() {