mirror of
https://github.com/discourse/discourse.git
synced 2025-02-05 19:11:13 +00:00
bfe0eccdd9
Previously, the secure-upload redirection logic would fail for extension-less files. This commit updates it to work, and adds a spec for the behavior. Extension-less file uploads are not allowed by default, so this is a very niche situation.