# アップロードのリマッピングが少し熱心すぎる

**URL:** <https://meta.discourse.org/t/upload-remapping-is-a-bit-too-enthousiastic/118889>\
**Category:** Bug\
**Created:** [2019 年 5 月 28 日午後 3:44 UTC](https://meta.discourse.org/t/upload-remapping-is-a-bit-too-enthousiastic/118889 "2019-05-28T15:44:56Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![tgxworld](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tgxworld/32/106117_2.png) [@tgxworld](https://meta.discourse.org/u/tgxworld)\
**Post date:** [2019 年 5 月 30 日午前 1:34 UTC](https://meta.discourse.org/t/upload-remapping-is-a-bit-too-enthousiastic/118889/6 "2019-05-30T01:34:44Z")

</div>

We’re experiencing the pain of this quite abit while migrating local uploads to S3. Unfortunately, no amount of hacky remaps can fix this properly. What we’re currently working on at the moment is to remove/disallow upload links in `Post#raw`. The short upload url, `![test](upload://asdikajsdiasds.png)`, will be used as the public interface for access to uploads in raw.

Once that is done, we will only have to remap the urls in the uploads table and do a rebake of affected posts.

---

_[View the full topic](https://meta.discourse.org/t/upload-remapping-is-a-bit-too-enthousiastic/118889)._
