Thanks for the report @MrBug (a very appropriate username for this post! )
This bug will be fixed by:
https://github.com/discourse/discourse/pull/25300