# Upload file name not kept on download

**URL:** <https://meta.discourse.org/t/upload-file-name-not-kept-on-download/71184>\
**Category:** Bug\
**Created:** [2017年十月2日 14:33 UTC](https://meta.discourse.org/t/upload-file-name-not-kept-on-download/71184 "2017-10-02T14:33:24Z")\
**Posts on this page:** 1\
**Showing post:** 23

<div class="post-metadata">

**Author:** ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)\
**Post date:** [2017年十月27日 16:48 UTC](https://meta.discourse.org/t/upload-file-name-not-kept-on-download/71184/23 "2017-10-27T16:48:31Z")

</div>

Finally pushed a fix

[https://github.com/discourse/discourse/commit/7ab49acac24c89bf8353364e6cad0db649c57e98](https://github.com/discourse/discourse/commit/7ab49acac24c89bf8353364e6cad0db649c57e98)

We somehow missed the deprecation warnings and it broke when we upgraded to Rails 5.1.

---

_[View the full topic](https://meta.discourse.org/t/upload-file-name-not-kept-on-download/71184)._
