This was a regression. It’s fixed.
https://github.com/discourse/discourse/commit/f8ded9cec9255a297d988b821dc596e133d86d78