Melhor tratamento da adição acidental de ToS/FAQ/privacidade padrão às configurações de admin tos_url/faq_url/privacy_url

Olá. Minha instalação do Discourse estava perfeita até alguns dias atrás. Não sei por quê, mas de repente o erro “ERR_TOO_MANY_REDIRECTS” começou a aparecer.

https://imgur.com/BIKE42U

O problema não são os cookies. Está acontecendo no meu celular e nos dois navegadores do meu PC — depois de apagar os cookies, obviamente, e o cache também… É curioso também que isso só aconteça nessas três páginas, as relacionadas ao título. Não é engraçado? O resto do fórum está simplesmente lindo! A propósito, obrigado pelo excelente trabalho com essa plataforma.

O fórum ainda não está aberto. Oferecemos alguns links de convite, mas o problema começou antes que qualquer pessoa do mundo externo viesse nos visitar. Falo isso apenas no caso de isso despertar algum interesse… Acho que não.

Essas três páginas têm alguma relação entre si? Elas são diferentes das outras? Não consigo entender a situação. Por que falham essas três, mas não o resto do fórum?

Você pode me ajudar de alguma forma com isso? Não sei por onde começar…

Este é o endereço, caso queira tentar: 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 curtidas

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 curtidas

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 curtidas

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 curtida

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 curtidas

Encontrei este problema hoje. Talvez baste adicionar uma advertência à descrição para dizer para adicioná-lo apenas se for diferente do padrão.

1 curtida

Ou o Discourse poderia simplesmente lidar com o caso. Não parece razoável adicionar os URLs padrão a essas configurações.

2 curtidas