This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/// <summary> | |
/// Validation of JSONP callback function names | |
/// </summary> | |
/// <remarks> | |
/// Based off the PHP code at https://gist.github.com/1217080, which is originally based off | |
/// a blog post at http://tav.espians.com/sanitising-jsonp-callback-identifiers-for-security.html | |
/// </remarks> | |
public class JsonValidator | |
{ | |
/// <summary> |