From 1e95357d5127c40acc4bf6e7ed10739f30c6ca95 Mon Sep 17 00:00:00 2001 From: Byron Jones Date: Thu, 5 Dec 2013 09:57:01 -0800 Subject: Bug 922226: redirect when attachments contain reviewboard URLs --- extensions/BMO/lib/Data.pm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'extensions/BMO/lib') diff --git a/extensions/BMO/lib/Data.pm b/extensions/BMO/lib/Data.pm index cf62b9acf..c4da9c29c 100644 --- a/extensions/BMO/lib/Data.pm +++ b/extensions/BMO/lib/Data.pm @@ -42,9 +42,11 @@ our @EXPORT = qw( $cf_visible_in_products %product_sec_groups %create_bug_formats @default_named_queries - GITHUB_PR_CONTENT_TYPE ); + GITHUB_PR_CONTENT_TYPE + RB_REQUEST_CONTENT_TYPE ); -use constant GITHUB_PR_CONTENT_TYPE => 'text/x-github-pull-request'; +use constant GITHUB_PR_CONTENT_TYPE => 'text/x-github-pull-request'; +use constant RB_REQUEST_CONTENT_TYPE => 'text/x-review-board-request'; # Which custom fields are visible in which products and components. # -- cgit v1.2.3-24-g4f1b