Comportamento di riscrittura URL di Discourse fallisce a causa di sottocartella

It works fine when you browse to such a topic, it only fails when you come from a direct URL.