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 | ||
| engine_spec.rb | ||
| helpers_spec.rb | ||
| layout_spec.rb | ||
| matcher_spec.rb | ||
| oembed_spec.rb | ||
| open_graph_spec.rb | ||
| preview_spec.rb | ||
| status_check_spec.rb | ||