Category slug met Unicode-tekens resulteert in redirect loop

Some work has been done on this in the past, but I do not think the issue you ran into has been addressed. What I think happened is that you have the slug generation method set to ‘ascii’ and you directly entered a category slug that has non-ascii characters in it. I can reproduce that issue on my site with the slug generation method set to ‘ascii’ and the following text (yetersizliği) entered directly into the Category Slug field:

After saving the category:

Attempting to load that category list then fails.

If I don’t enter anything into the Category Slug field, DIscourse will create the slug correctly when the slug generation method is set to ‘ascii’.

With the slug generation method is set to ‘encoded’, Discourse handles creating the slug correctly both when I leave the Category Slug input empty and if I directly enter the non-ascii slug into the input.

So it seems that the issue is that when the slug generation method is set to ‘ascii’, non-ascii slugs can still be entered into the Category Slug field. This causes a redirect issue that can only be fixed from the Rails console.

6 likes