24 references to RequestValidationSource
System.Web (24)
HttpRequest.cs (21)
1404ValidateString(path, null, RequestValidationSource.Path); 1607ValidateString(pathInfo, null, RequestValidationSource.PathInfo); 1840ValidateString(_rawUrl, null, RequestValidationSource.RawUrl); 2135ValidateHttpValueCollection(_queryString, RequestValidationSource.QueryString); 2180ValidateHttpValueCollection(_form, RequestValidationSource.Form); 2233ValidateHttpValueCollection(_headers, RequestValidationSource.Headers); 2687private void ValidateString(string value, string collectionKey, RequestValidationSource requestCollection) { 2726private static string GetRequestValidationSourceName(RequestValidationSource requestCollection) { 2728case RequestValidationSource.Cookies: return "Request.Cookies"; 2729case RequestValidationSource.Files: return "Request.Files"; 2730case RequestValidationSource.Form: return "Request.Form"; 2731case RequestValidationSource.Headers: return "Request.Headers"; 2732case RequestValidationSource.Path: return "Request.Path"; 2733case RequestValidationSource.PathInfo: return "Request.PathInfo"; 2734case RequestValidationSource.QueryString: return "Request.QueryString"; 2735case RequestValidationSource.RawUrl: return "Request.RawUrl"; 2742private void ValidateHttpValueCollection(HttpValueCollection collection, RequestValidationSource requestCollection) { 2770cc.EnableGranularValidation((key, value) => ValidateString(value, key, RequestValidationSource.Cookies)); 2781ValidateString(val, key, RequestValidationSource.Cookies); 2789col.EnableGranularValidation((key, value) => ValidateString(value, "filename", RequestValidationSource.Files)); 2795ValidateString(filename, "filename", RequestValidationSource.Files);
Util\RequestValidator.cs (3)
67public bool InvokeIsValidRequestString(HttpContext context, string value, RequestValidationSource requestValidationSource, string collectionKey, out int validationFailureIndex) { 77protected internal virtual bool IsValidRequestString(HttpContext context, string value, RequestValidationSource requestValidationSource, string collectionKey, out int validationFailureIndex) { 78if (requestValidationSource == RequestValidationSource.Headers) {