detect invalid UTF-8 encoding in JSON strings, throw appropriate error #110

Merged
merged 1 commit into from Apr 2, 2013

3 participants

@pheaver

No description provided.

@pheaver

@bos have you had a chance to look at this? we need this patch to detect when users provide improperly encoded json data, otherwise we have to pass through the data once before sending it to aeson or have exceptions occurring in our production environment, neither of which is desirable.

@hvr
Collaborator

+1

(I was just about to file an issue like this one, as I encountered the very same problem in an production environment...)

@bos bos merged commit 9d76a74 into bos:master Apr 2, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment