File tree Expand file tree Collapse file tree
template/en/default/global Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -75,6 +75,7 @@ use constant SUB_CLASSES => qw(
7575 Bugzilla::BugUrl::Aha
7676 Bugzilla::BugUrl::WebCompat
7777 Bugzilla::BugUrl::ServiceNow
78+ Bugzilla::BugUrl::Splat
7879) ;
7980
8081# ##############################
Original file line number Diff line number Diff line change 1+ # This Source Code Form is subject to the terms of the Mozilla Public
2+ # License, v. 2.0. If a copy of the MPL was not distributed with this
3+ # file, You can obtain one at http://mozilla.org/MPL/2.0/.
4+ #
5+ # This Source Code Form is "Incompatible With Secondary Licenses", as
6+ # defined by the Mozilla Public License, v. 2.0.
7+
8+ package Bugzilla::BugUrl::Splat ;
9+ use strict;
10+ use base qw( Bugzilla::BugUrl) ;
11+
12+ sub should_handle {
13+ my ($class , $uri ) = @_ ;
14+ return $uri =~ m # ^https?://hellosplat\. com/s/beanbag/tickets/\d +# ;
15+ }
16+
17+ sub _check_value {
18+ my ($class , $uri ) = @_ ;
19+ $uri = $class -> SUPER::_check_value($uri );
20+ $uri -> scheme(' https' ); # force https
21+ return $uri ;
22+ }
23+
24+ 1;
Original file line number Diff line number Diff line change 352352 <li>An Aha feature on aha.io. </li>
353353 <li>An issue on webcompat.com. </li>
354354 <li>A request on ServiceNow. </li>
355+ <li>A ticket on hellosplat.com. </li>
355356 </ul>
356357 [% ELSIF reason == 'id' %]
357358 There is no valid [% terms.bug %] id in that URL.
You can’t perform that action at this time.
0 commit comments