mirror of
https://github.com/discourse/discourse.git
synced 2024-12-03 03:03:39 +08:00
2909b8b820
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. |
||
---|---|---|
.. | ||
engine | ||
mixins | ||
templates | ||
discourse_onebox_sanitize_config.rb | ||
engine.rb | ||
file_type_finder.rb | ||
helpers.rb | ||
layout_support.rb | ||
layout.rb | ||
matcher.rb | ||
oembed.rb | ||
open_graph.rb | ||
preview.rb | ||
sanitize_config.rb | ||
status_check.rb | ||
template_support.rb | ||
view.rb |