Error 404 in profile of user with Unicode in username

I met a bug that Profile - Activity - Topics is not working with Chinese username.

Assume the Chinese username is and its Unicode is %E5%BF%AB. If I click Profile - Activity - Topics, it works fine because discourse queries /topics/created-by/%E5%BF%AB.json. But if I scroll down and want to load more, it fails with status code 404. It queries /topics/created-by/%25E5%25BF%25AB.json?page=1 because % in the Unicode username is converted to %25.

6 Likes

Nice catch, we will have a look over the next 4 weeks!

5 Likes

I have this fixed in

5 Likes

This topic was automatically closed after 11 days. New replies are no longer allowed.