Skip to content

Instantly share code, notes, and snippets.

@sebnilsson
Created October 4, 2011 14:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sebnilsson/1261836 to your computer and use it in GitHub Desktop.
Save sebnilsson/1261836 to your computer and use it in GitHub Desktop.
Valid RFC 3986 Chars
// According to:
// http://www.ietf.org/rfc/rfc3986.txt
public static char[] ValidRfc3986Chars = new[] {
'a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z',
'A','B','C','D','E','F','G','H','I','J','K','L','M','N','O','P','Q','R','S','T','U','V','W','X','Y','Z',
'0','1','2','3','4','5','6','7','8','9',
'-','.','_','~',':','/','?','#','[',']','@','!','$','&','\'','(',')','*','+',',',';','=',
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment