This is implemented in
https://github.com/discourse/discourse/commit/405ba00c08a86778a7baf28e93388201162a5347