mirror of
https://github.com/discourse/discourse.git
synced 2025-02-23 01:47:42 +08:00

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.