C# Class ProceXSS.Infrastructure.RequestSanitizer

Inheritance: IRequestSanitizer
Show file Open project: ziyasal/ProceXSS

Public Methods

Method Description
Clean ( NameValueCollection collection, IXssConfigurationHandler configuration, EncoderType encoderType = EncoderType.AutoDetect ) : void
RequestSanitizer ( IReflectortionHelper reflectortionHelper, IRegexHelper regexHelper ) : System.Collections.Specialized

Private Methods

Method Description
IterateCleanUp ( EncoderType encoderType, NameValueCollection collection, int index ) : void

Method Details

Clean() public method

public Clean ( NameValueCollection collection, IXssConfigurationHandler configuration, EncoderType encoderType = EncoderType.AutoDetect ) : void
collection System.Collections.Specialized.NameValueCollection
configuration IXssConfigurationHandler
encoderType EncoderType
return void

RequestSanitizer() public method

public RequestSanitizer ( IReflectortionHelper reflectortionHelper, IRegexHelper regexHelper ) : System.Collections.Specialized
reflectortionHelper IReflectortionHelper
regexHelper IRegexHelper
return System.Collections.Specialized