Skip to content

Commit

Permalink
Bugfix FXIOS-10211 Fix debug-build crash when disabling content block…
Browse files Browse the repository at this point in the history
…er (#22356)

[FXIOS-10211] Fix safelist JSON formatting for content blocker
  • Loading branch information
mattreaganmozilla authored Oct 3, 2024
1 parent 7c62531 commit b56d8a1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ extension ContentBlocker {
return ""
}
// Note that * is added to the front of domains, so foo.com becomes *foo.com
let list = "'*" + safelistedDomains.domainSet.joined(separator: "','*") + "'"
let list = "\"*" + safelistedDomains.domainSet.joined(separator: "\",\"*") + "\""

let script =
"""
Expand Down

0 comments on commit b56d8a1

Please sign in to comment.