1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activestorage/test/dummy
George Claghorn 2d20a7696a Fix direct uploads to local service
Disable CSRF protection for ActiveStorage::DiskController#update. The local disk service is intended to imitate a third-party service like S3 or GCS, so we don't care where direct uploads originate: they’re authorized by signed tokens.

Closes #30290.

[Shinichi Maeshima & George Claghorn]
2017-11-20 10:54:46 -05:00
..
app Use frozen string literal in Active Storage 2017-08-12 21:43:42 +09:00
bin Define path with __dir__ in activestorage/ 2017-10-13 20:47:56 +03:00
config Fix direct uploads to local service 2017-11-20 10:54:46 -05:00
lib/assets
log
public
config.ru Use frozen string literal in Active Storage 2017-08-12 21:43:42 +09:00
package.json
Rakefile Use frozen string literal in Active Storage 2017-08-12 21:43:42 +09:00