Confirmed and fixed:
https://github.com/discourse/discourse/commit/e54125b5dc0db7a51839d096fe38927ddec8abcd