It’s fixed now.
https://github.com/discourse/discourse/commit/2818afb2678e85eb1d96a06ec317636085181834