https://github.com/danbooru/danbooru/commit/6ca42947bd2cf63828ba68e96c41d987d5ee6b94#commitcomment-38622036