New User of the Month uses absolute path for badges link breaking subfolder installs

We just upgraded and as such have the New User of the Month enabled. And when it issued, it successfully choose two members but the link to the badges view page is for /my/badges and that url fails for subfolder installs.

I’m working with our admin to manually correct it for next month (via admin > customize text) but figured a correction in core would be ideal.

6 Likes

This should fix it:

https://github.com/discourse/discourse/commit/17a3eddb9fb07df66fe790e34494454f2ef04d18

7 Likes