Discourse shouldn't dynamically calculate the path of uploads and optimized images after a file has been stored on disk or S3. Otherwise it might calculate the wrong path if the SHA1 or extension stored in the database doesn't match the actual file path. |
||
|---|---|---|
| .. | ||
| distributed_cache_spec.rb | ||
| jobs_spec.rb | ||
| pausable_spec.rb | ||
| post_spec.rb | ||
| s3_store_spec.rb | ||
| site_settings_spec.rb | ||