scottksmith95/coderbits.widget — pull request #8 by GloverDonovan (2013-03-16 04:41:14+00:00)
Title: XSS Protection

Prevents functions and other nonsense from being passed to the server. An attempt of ?callback=alert('t');asdf should be requested as ?callback=alerttasdf.

The regexp was rushed and hasn't been tested. There might be an error somewhere.