41 references to HttpEncoderUtility
System.Web (41)
HttpResponse.cs (3)
2496
url = url + "?" + qsErrorMark + "=" +
HttpEncoderUtility
.UrlEncodeSpaces(Request.Path);
3329
return schemeAndAuthority +
HttpEncoderUtility
.UrlEncodeSpaces(HttpUtility.UrlEncodeNonAscii(path, Encoding.UTF8)) + queryAndFragment;
3333
return
HttpEncoderUtility
.UrlEncodeSpaces(HttpUtility.UrlEncodeNonAscii(url, Encoding.UTF8));
Security\Cryptography\CryptoUtil.cs (2)
146
int highNibble =
HttpEncoderUtility
.HexToInt(data[2 * i]);
147
int lowNibble =
HttpEncoderUtility
.HexToInt(data[2 * i + 1]);
UI\HtmlForm.cs (1)
258
sb.Append(
HttpEncoderUtility
.UrlEncodeSpaces(HttpUtility.HtmlAttributeEncode(Page.ClientScript.GetWebResourceUrl(typeof(HtmlForm), "SmartNav.htm"))));
UI\HTMLTextWriter.cs (3)
1283
if (
HttpEncoderUtility
.IsUrlSafeChar(ch)) {
1302
Write(
HttpEncoderUtility
.IntToHex((ch >> 4) & 0xf));
1303
Write(
HttpEncoderUtility
.IntToHex((ch) & 0xf));
Util\HttpEncoder.cs (32)
114
int h1 =
HttpEncoderUtility
.HexToInt(s[pos + 2]);
115
int h2 =
HttpEncoderUtility
.HexToInt(s[pos + 3]);
116
int h3 =
HttpEncoderUtility
.HexToInt(s[pos + 4]);
117
int h4 =
HttpEncoderUtility
.HexToInt(s[pos + 5]);
477
int h1 =
HttpEncoderUtility
.HexToInt((char)bytes[pos + 1]);
478
int h2 =
HttpEncoderUtility
.HexToInt((char)bytes[pos + 2]);
520
int h1 =
HttpEncoderUtility
.HexToInt((char)bytes[pos + 2]);
521
int h2 =
HttpEncoderUtility
.HexToInt((char)bytes[pos + 3]);
522
int h3 =
HttpEncoderUtility
.HexToInt((char)bytes[pos + 4]);
523
int h4 =
HttpEncoderUtility
.HexToInt((char)bytes[pos + 5]);
535
int h1 =
HttpEncoderUtility
.HexToInt((char)bytes[pos + 1]);
536
int h2 =
HttpEncoderUtility
.HexToInt((char)bytes[pos + 2]);
571
int h1 =
HttpEncoderUtility
.HexToInt(value[pos + 2]);
572
int h2 =
HttpEncoderUtility
.HexToInt(value[pos + 3]);
573
int h3 =
HttpEncoderUtility
.HexToInt(value[pos + 4]);
574
int h4 =
HttpEncoderUtility
.HexToInt(value[pos + 5]);
586
int h1 =
HttpEncoderUtility
.HexToInt(value[pos + 1]);
587
int h2 =
HttpEncoderUtility
.HexToInt(value[pos + 2]);
631
else if (!
HttpEncoderUtility
.IsUrlSafeChar(ch))
656
if (
HttpEncoderUtility
.IsUrlSafeChar(ch)) {
664
expandedBytes[pos++] = (byte)
HttpEncoderUtility
.IntToHex((b >> 4) & 0xf);
665
expandedBytes[pos++] = (byte)
HttpEncoderUtility
.IntToHex(b & 0x0f);
709
expandedBytes[pos++] = (byte)
HttpEncoderUtility
.IntToHex((b >> 4) & 0xf);
710
expandedBytes[pos++] = (byte)
HttpEncoderUtility
.IntToHex(b & 0x0f);
733
if (ignoreAscii ||
HttpEncoderUtility
.IsUrlSafeChar(ch)) {
741
sb.Append(
HttpEncoderUtility
.IntToHex((ch >> 4) & 0xf));
742
sb.Append(
HttpEncoderUtility
.IntToHex((ch) & 0xf));
747
sb.Append(
HttpEncoderUtility
.IntToHex((ch >> 12) & 0xf));
748
sb.Append(
HttpEncoderUtility
.IntToHex((ch >> 8) & 0xf));
749
sb.Append(
HttpEncoderUtility
.IntToHex((ch >> 4) & 0xf));
750
sb.Append(
HttpEncoderUtility
.IntToHex((ch) & 0xf));
801
return
HttpEncoderUtility
.UrlEncodeSpaces(UrlEncodeNonAscii(value, Encoding.UTF8));