File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed
toolkit/mozapps/extensions Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -29,17 +29,14 @@ static bool IsValidHost(const nsACString& host) {
29
29
return false ;
30
30
}
31
31
32
- if (host.EqualsLiteral (" addons.mozilla.org" ) ||
33
- host.EqualsLiteral (" discovery.addons.mozilla.org" )) {
32
+ if (host.EqualsLiteral (" addons.mozilla.org" )) {
34
33
return true ;
35
34
}
36
35
37
36
// When testing allow access to the developer sites.
38
37
if (Preferences::GetBool (" extensions.webapi.testing" , false )) {
39
38
if (host.LowerCaseEqualsLiteral (" addons.allizom.org" ) ||
40
- host.LowerCaseEqualsLiteral (" discovery.addons.allizom.org" ) ||
41
39
host.LowerCaseEqualsLiteral (" addons-dev.allizom.org" ) ||
42
- host.LowerCaseEqualsLiteral (" discovery.addons-dev.allizom.org" ) ||
43
40
host.LowerCaseEqualsLiteral (" example.com" )) {
44
41
return true ;
45
42
}
You can’t perform that action at this time.
0 commit comments