C# Class NetPonto.Common.HTMLEncoder.XssEncoder

Inheritance: System.Web.Util.HttpEncoder
Exibir arquivo Open project: JorgeMCSilva/NetPonto

Protected Methods

Method Description
HtmlAttributeEncode ( string value, TextWriter output ) : void
HtmlEncode ( string value, TextWriter output ) : void
UrlEncode ( byte bytes, int offset, int count ) : byte[]
UrlPathEncode ( string value ) : string

Private Methods

Method Description
IntToHex ( int n ) : char
IsUrlSafeChar ( char ch ) : bool

Method Details

HtmlAttributeEncode() protected method

protected HtmlAttributeEncode ( string value, TextWriter output ) : void
value string
output System.IO.TextWriter
return void

HtmlEncode() protected method

protected HtmlEncode ( string value, TextWriter output ) : void
value string
output System.IO.TextWriter
return void

UrlEncode() protected method

protected UrlEncode ( byte bytes, int offset, int count ) : byte[]
bytes byte
offset int
count int
return byte[]

UrlPathEncode() protected method

protected UrlPathEncode ( string value ) : string
value string
return string