senchalabs/connect — pull request #514 by beatgammit (2012-03-22 00:14:04+00:00)
Title: Replace overly restrictive JSON check for regex that covers all cases

I prefer my other pull request for the same problem, but this regex should cover all cases if performance was the reason for the overly restrictive JSON check.

As mentioned in the other pull request, I need to POST quoted strings, like `"hello world"`, which is valid JSON.