PSA: this is done as per
https://github.com/discourse/discourse/commit/3e577b6ba8a6512f67d9df06b1b7a7d7f89809c3