diff options
author | Byron Jones <bjones@mozilla.com> | 2014-02-17 15:19:08 +0100 |
---|---|---|
committer | Byron Jones <bjones@mozilla.com> | 2014-02-17 15:19:08 +0100 |
commit | 45a46b580a9cb0babd00f10220632772a25ad3e3 (patch) | |
tree | 1ee4e17aa26c50df558fa5c6712cd090da3cd4e6 /extensions/BMO | |
parent | 82b6c8305d7bdce96e5569de113d45f040d4acb7 (diff) | |
download | bugzilla-45a46b580a9cb0babd00f10220632772a25ad3e3.tar.gz bugzilla-45a46b580a9cb0babd00f10220632772a25ad3e3.tar.xz |
Bug 973582: Don't link "UUID <id>" to crash-stats
Diffstat (limited to 'extensions/BMO')
-rw-r--r-- | extensions/BMO/Extension.pm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/extensions/BMO/Extension.pm b/extensions/BMO/Extension.pm index c3c337ec5..1e54dbfdf 100644 --- a/extensions/BMO/Extension.pm +++ b/extensions/BMO/Extension.pm @@ -431,11 +431,11 @@ sub bug_format_comment { my ($self, $args) = @_; my $regexes = $args->{'regexes'}; - # link UUIDs to crash-stats + # link to crash-stats # Only match if not already in an URL using the negative lookbehind (?<!\/) push (@$regexes, { - match => qr/(?<!\/)\b(?:UUID\s+|bp\-)([a-f0-9]{8}\-[a-f0-9]{4}\-[a-f0-9]{4}\- - [a-f0-9]{4}\-[a-f0-9]{12})\b/x, + match => qr/(?<!\/)\bbp-([a-f0-9]{8}\-[a-f0-9]{4}\-[a-f0-9]{4}\- + [a-f0-9]{4}\-[a-f0-9]{12})\b/x, replace => sub { my $args = shift; my $match = html_quote($args->{matches}->[0]); |