mirror of
https://github.com/discourse/discourse.git
synced 2025-02-12 22:34:57 +00:00
157f10db4c
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.