Merge branch 'length-limit-bio' into 'develop'
[akkoma] / lib / pleroma / web / activity_pub / mrf.ex
index dd204b21c2194dc50dc32ba3b26d081d289f815d..caa2a3231a5b5767b9a7dbd8eae05a426a4cf830 100644 (file)
@@ -28,7 +28,7 @@ defmodule Pleroma.Web.ActivityPub.MRF do
 
   @spec subdomains_regex([String.t()]) :: [Regex.t()]
   def subdomains_regex(domains) when is_list(domains) do
-    for domain <- domains, do: ~r(^#{String.replace(domain, "*.", "(.*\\.)*")}$)
+    for domain <- domains, do: ~r(^#{String.replace(domain, "*.", "(.*\\.)*")}$)i
   end
 
   @spec subdomain_match?([Regex.t()], String.t()) :: boolean()