tos_url/faq_url/privacy_url 管理設定へのデフォルトの ToS/FAQ/プライバシーの誤った追加のより良い処理

こんにちは。Discourse のインストールは、数日前まで完璧に動作していました。なぜか突然、「ERR_TOO_MANY_REDIRECTS」というエラーが表示されるようになりました。

https://imgur.com/BIKE42U

これはクッキーが原因ではありません。スマートフォンでも、2 台の PC の Web ブラウザでも発生しています(もちろん、クッキーとキャッシュをクリアした後です)。奇妙なことに、このエラーはタイトルに関連する 3 つのページでのみ発生します。おかしいと思いませんか?フォーラムの残りの部分は素晴らしいままです。ちなみに、このプラットフォームをここまで作り上げてくれたことに感謝しています。

フォーラムはまだ公開されていません。いくつかの招待リンクを提供しましたが、この問題は「外部から」誰かが訪問する前に発生しました。念のため言っておきますが、これが何かの手がかりになるかどうかはわかりません。

この 3 つのページは何か関連性があるのでしょうか?それとも他のページとは別物なのでしょうか?状況が理解できません。なぜこの 3 つのページだけが失敗し、フォーラムの残りは正常に動作するのでしょうか?

この件について何かお手伝いできることはありますか?どこから手をつければよいのかわかりません…

もし試してみたい場合は、こちらがアドレスです:https://laplazoleta.org/about

I can reproduce this on my site if I set the faq url or tos url site settings to the default FAQ and TOS urls for my site. Can you check your site settings to see if that is causing the problem for you? These settings should be left empty if you want to use the default URLs for these pages.

「いいね!」 3

Oh, @simon, I love you!! I didn’t associate the problem with these settings because the error occurred recently, and I only touched there at the beginning of the installation, about a month ago. I suppose I don’t visit these pages (TOS, FAQ…) often enough!

Thank you very much!

In any case, I think the explanation you can find below the small window where you can enter those values is not very clear. At least, not in Spanish. See:

https://imgur.com/LSQxgFD

It says something like: If you have a document for (privacy policy, TOS, or FAQ) hosted anywhere, put its URL here… But wouldn’t it be better to add “but leave it empty if this URL is at your Discourse installation” or something similar? I assume that by writing just a few more letters, it would be clearer for other clumsy guys—or girls—like me in the future… :stuck_out_tongue_winking_eye:

It’s an idea… Thanks! Gracias!

「いいね!」 2

This might be an error in the translation. In English it says “If you have a Terms of Service document hosted elsewhere that you want to use, provide the full URL here.” That said, maybe Discourse should handle the case when the default URLs get entered into these settings to avoid the ‘too many redirects’ issue.

「いいね!」 2

That’s right! Or maybe, to let it clearer, say: "if the place is at this same installation, let it empty. Otherwise, it can trigger the too many redirects error.

Maybe is too articulated… It can be written simpler and shorter, but the intention, I think it is by this way.

Should we write some tag or maybe write a theme at some category, to make it know to the Discourse Team this should be done, if they think appropriate? Is there a ideas place or something like that?

「いいね!」 1

The best approach would probably be to fix the redirect issue so that entering the default URLs won’t break anything. I’ll move this topic to our ux category so that it doesn’t get lost.

「いいね!」 4

本日この問題が発生しました。デフォルトとは異なる場合のみ追加するように、説明に注意書きを追加するだけでよいかもしれません。

「いいね!」 1

それか、Discourse がそのケースを処理することもできます。これらの設定にデフォルトの URL を追加することは、それほど不合理ではないようです。

「いいね!」 2