discourse/lib/onebox
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
..
engine FIX: Broken GitHub folder onebox logic (#15612) 2022-01-17 18:32:07 +01:00
mixins DEV: Fix rubocop issues (#14715) 2021-10-27 11:39:28 +03:00
templates FIX: limits pre-line impact to tweet text (#15583) 2022-01-14 10:44:21 +01:00
discourse_onebox_sanitize_config.rb FEATURE: Add disable_onebox_media_download_controls hidden site setting (#12208) 2021-02-25 12:39:15 +10:00
engine.rb FIX: origins_to_regexes should always return an array (#15589) 2022-01-17 12:48:41 -05:00
file_type_finder.rb DEV: Absorb onebox gem into core (#12979) 2021-05-26 15:11:35 +05:30
helpers.rb FIX: Display Instagram Oneboxes in an iframe (#14789) 2021-11-02 14:34:51 -04:00
layout_support.rb DEV: Absorb onebox gem into core (#12979) 2021-05-26 15:11:35 +05:30
layout.rb DEV: Absorb onebox gem into core (#12979) 2021-05-26 15:11:35 +05:30
matcher.rb FEATURE: Onebox can match engines based on the content_type (#13876) 2021-07-30 13:36:30 -04:00
oembed.rb DEV: Absorb onebox gem into core (#12979) 2021-05-26 15:11:35 +05:30
open_graph.rb DEV: Absorb onebox gem into core (#12979) 2021-05-26 15:11:35 +05:30
preview.rb FIX: return an empty result if response from Amazon is missing expected attributes (#13173) 2021-06-01 16:23:18 -04:00
sanitize_config.rb DEV: Absorb onebox gem into core (#12979) 2021-05-26 15:11:35 +05:30
status_check.rb DEV: Fix rubocop issues (#14715) 2021-10-27 11:39:28 +03:00
template_support.rb DEV: Absorb onebox gem into core (#12979) 2021-05-26 15:11:35 +05:30
view.rb DEV: Absorb onebox gem into core (#12979) 2021-05-26 15:11:35 +05:30