404 after mailing list unsub to redirect to prefs [Unicode Issue?]

I just opted out of forum mail list by clicking at the bottom of an email:

Now, I click on the visit your user preferences link, leading to https://forum.mysite.com/my/preferences resulting in:

Oops! That page doesn’t exist or is private.

@ https://forum.mysite.com/404

If I’m quick, I can see the actual redirect link:

https://forum.mysite.com/u/%C3%83%C2%AD42-Xblade/preferences

This seems to be a Unicode issue. I have enabled Unicode on my site. Use this example:

í42-Xblade

Notice the accented í .

I could guess that this is not the only link that breaks due to Unicode names.

2 Likes

Thanks for reporting this issue. While investigating I noticed quite a handful of related problems. I’ll get it fixed real soon.

3 Likes

Please upgrade to latest. I pushed a fix:

https://github.com/discourse/discourse/commit/8c6a42c589cbcbbc1f8c3dd4d13b7674f2661eb2

2 Likes