This was a legit issue. Fixed in:
https://github.com/discourse/discourse/commit/78beb4368a6d4dcfaa46ad5b1afafe7d6eabaf8e