chreekat/yesod — comment on commit 1953c8943ba3cfd6ba033e3f68e613deb6addf63
File: yesod-json/Yesod/Json.hs line 123
By snoyberg:

There's a small problem with `isPrefixOf` here: it will match something like "application/jsonfoo", which we wouldn't want to do. I'm not sure if this will ever be a problem in practice, but I'd still prefer avoiding the problem.