rails--rails/guides
yuuji.yaginuma 6a8519ca89 Specify `hosts` in bug report template.
Host authentication introduced by #33145 allows only "0.0.0.0/0", "::/0"
and "localhost" in the development environment.
4298df00ae/railties/lib/rails/application/configuration.rb (L33)

But `rack-test` use `example.org` for default host.
6c07bf53ad/lib/rack/test.rb (L13)

Therefore, if `hosts` is not specified, host authentication rejects
the request.

In Travis CI, this problem does not occur because `test` is specified
by default in `RAILS_ENV` and `RACK_ENV`.
https://docs.travis-ci.com/user/environment-variables/#default-environment-variables

If user actually use it, env may not always be specified. Explicitly
specify hosts in the file so that it works in any environment.
2018-12-25 08:40:56 +09:00
..
assets
bug_report_templates Specify `hosts` in bug report template. 2018-12-25 08:40:56 +09:00
rails_guides Use safe nav operator when calling RailsGuides::Generator.new 2018-12-05 12:41:07 +09:00
source Follow up #34754 2018-12-20 18:53:25 +02:00
.document
CHANGELOG.md Require Ruby 2.5 for Rails 6. 2018-12-19 21:47:50 +01:00
Rakefile
rails_guides.rb Use safe nav operator when calling RailsGuides::Generator.new 2018-12-05 12:41:07 +09:00
w3c_validator.rb