discourse/app/views/layouts
David Taylor 1fa7a87f86
SECURITY: Remove ember-cli specific response from application routes (#15155)
Under some conditions, these varied responses could lead to cache poisoning, hence the 'security' label.

Previously the Rails application would serve JSON data in place of HTML whenever Ember CLI requested an `application.html.erb`-rendered page. This commit removes that logic, and instead parses the HTML out of the standard response. This means that Rails doesn't need to customize its response for Ember CLI.
2021-12-01 16:10:40 +00:00
..
_head.html.erb Replace base_uri with base_path (#10879) 2020-10-09 12:51:24 +01:00
application.html.erb SECURITY: Remove ember-cli specific response from application routes (#15155) 2021-12-01 16:10:40 +00:00
crawler.html.erb PERF: Eager load Theme associations in Stylesheet Manager. 2021-06-21 11:06:58 +08:00
email_template.html.erb Revert "Revert "Merge branch 'master' of https://github.com/discourse/discourse"" 2020-05-23 00:56:13 -04:00
embed.html.erb Code review comments. 2021-06-21 11:06:58 +08:00
ember_cli.html.erb remove some hardcoded 'localhost's from dev environment (#14801) 2021-11-03 11:26:44 +08:00
finish_installation.html.erb Code review comments. 2021-06-21 11:06:58 +08:00
no_ember.html.erb DEV: adds server:after-body-open (#14106) 2021-08-24 14:35:44 +02:00
publish.html.erb FIX: adds google tracking to page publishing (#12090) 2021-02-15 19:00:35 +01:00