jbrw 2909b8b820
FIX: origins_to_regexes should always return an array (#15589)
If the SiteSetting `allowed_onebox_iframes` contains a value of `*`, it will use the values of `all_iframe_origins` during the Oneboxing process. If `all_iframe_origins` itself contains a value of `*`, `origins_to_regexes` will try to return a "catch-all" regex.

Other code assumes `origins_to_regexes`will return an array, so this change ensures the `*` case will return an array containing only the catch-all regex.
2022-01-17 12:48:41 -05:00
..
2020-01-15 11:27:12 +01:00
2021-10-27 11:39:28 +03:00
2021-05-31 10:22:50 +08:00
2020-05-05 13:46:57 +10:00
2021-06-21 11:06:58 +08:00
2020-07-21 15:55:03 +08:00
2020-04-30 16:48:53 +10:00