# 画像アップロードの自動生成されたファイル名にブロックされた単語が含まれており、投稿がブロックされました

**URL:** https://meta.discourse.org/t/image-upload-automatically-generated-filename-contained-a-blocked-word-and-prevented-posting/199860
**Category:** Feature
**Created:** [2021 年 8 月 9 日午後 7:32 UTC](https://meta.discourse.org/t/image-upload-automatically-generated-filename-contained-a-blocked-word-and-prevented-posting/199860 "2021-08-09T19:32:48Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Dylan\_Caudill](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dylan_caudill/32/187800_2.png) [@Dylan\_Caudill](https://meta.discourse.org/u/Dylan_Caudill)
#### Post date: [2021 年 8 月 9 日午後 7:32 UTC](https://meta.discourse.org/t/image-upload-automatically-generated-filename-contained-a-blocked-word-and-prevented-posting/199860/1 "2021-08-09T19:32:48Z")

</div>

画像を投稿する際、生成されたアップロード URL のファイル名に禁止語が含まれていたため、投稿が許可されませんでした。

 ![image](https://global.discourse-cdn.com/meta/original/3X/4/c/4c817e52aa75a78614dc00737b658d4149e3cc32.png)

当フォーラムでは、さまざまな表現でその言葉が使われるのを防ぐため、`*fuck*` を禁止語として設定しています。

---

<div class="post-metadata">

### Author: ![simon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/simon/32/339122_2.png) [@simon](https://meta.discourse.org/u/simon)
#### Post date: [2021 年 8 月 9 日午後 10:05 UTC](https://meta.discourse.org/t/image-upload-automatically-generated-filename-contained-a-blocked-word-and-prevented-posting/199860/2 "2021-08-09T22:05:55Z")

</div>

それは意外ですね！私の理解が正しければ、禁止語を含むファイル名はユーザーではなく Discourse によって生成されたものです。

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [2021 年 8 月 10 日午前 6:33 UTC](https://meta.discourse.org/t/image-upload-automatically-generated-filename-contained-a-blocked-word-and-prevented-posting/199860/3 "2021-08-10T06:33:12Z")

</div>

残念ながら、これはバグとはみなせません。システムは設計通りに機能しています。推奨としては、もう少し穏やかに対応し、`fuck*` を使用することです。もし単語が検出されることを強く懸念される場合は、`*fuck*` で自動的にフラグを立てることも可能です。
