273 references to HttpUtility
System.Data.Services (1)
System\Data\Services\BatchServiceHost.cs (1)
382this.queryParameters = HttpUtility.ParseQueryString(this.absoluteRequestUri.Query);
System.ServiceModel.Web (9)
System\ServiceModel\Dispatcher\HelpHtmlBuilder.cs (9)
123XElement.Parse(SR2.GetString(SR2.HelpPageOperationUri, HttpUtility.HtmlEncode(BuildFullUriTemplate(baseUri, operationInfo.UriTemplate)))), 124XElement.Parse(SR2.GetString(SR2.HelpPageOperationMethod, HttpUtility.HtmlEncode(operationInfo.Method)))); 127div.Add(XElement.Parse(SR2.GetString(SR2.HelpPageCallbackText, HttpUtility.HtmlEncode(operationInfo.JavascriptCallbackParameterName))), table); 152div.Add(XElement.Parse(SR2.GetString(SR2.HelpPageMethodNotAllowedWithLink, HttpUtility.HtmlEncode(helpUri.AbsoluteUri)))); 179string encodedHelpLink = HttpUtility.HtmlEncode(helpUri.AbsoluteUri); 183string errorMessage = AppSettings.DisableHtmlErrorPageExceptionHtmlEncoding ? error.Message : HttpUtility.HtmlEncode(error.Message); 209div.Add(XElement.Parse(SR2.GetString(SR2.HelpPageEndpointNotFoundWithLink, HttpUtility.HtmlEncode(helpUri.AbsoluteUri)))); 221XElement.Parse(SR2.GetString(SR2.HelpPageRedirect, HttpUtility.HtmlEncode(originalTo), HttpUtility.HtmlEncode(newLocation))));
System.Web (204)
Compilation\BaseTemplateCodeDomTreeGenerator.cs (2)
67new CodeTypeReferenceExpression(typeof(HttpUtility)), 1307new CodeTypeReferenceExpression(typeof(HttpUtility)),
Compilation\DataBindingExpressionBuilder.cs (1)
70new CodeTypeReferenceExpression(typeof(HttpUtility)),
Configuration\AuthenticationConfig.cs (2)
86decodedLoginUrl = HttpUtility.UrlDecode(loginUrl); 91decodedLoginUrl = HttpUtility.UrlDecode(loginUrl, context.Request.ContentEncoding);
Configuration\HttpRuntimeSection.cs (2)
842string[] stringsDecoded = HttpUtility.UrlDecode(invalidCharString, Encoding.UTF8).Split(','); 866string decodedString = HttpUtility.UrlDecode(stringsToDecode[iter], Encoding.UTF8).Trim();
Configuration\UrlAuthFailedErrorFormatter.cs (1)
67string miscContent = HttpUtility.FormatPlainTextAsHtml(SR.GetString(SR.Assess_Denied_Misc_Content2));
ErrorFormatter.cs (30)
547HttpUtility.HtmlEncode(fusionLog), 878return HttpUtility.FormatPlainTextAsHtml(msg); 907string errorMessage = HttpUtility.FormatPlainTextAsHtml(_initialException.Message); 917errDesc = HttpUtility.HtmlEncode(errDesc); 923errDesc = HttpUtility.HtmlEncode(errDesc); 986msg = HttpUtility.FormatPlainTextAsHtml(msg); 1124AdaptiveStackTrace.Add(HttpUtility.HtmlEncode(stackTraceText)); 1134_coloredSquare2Content = HttpUtility.HtmlEncode(sb.ToString()); 1187return HttpUtility.FormatPlainTextAsHtml(SR.GetString(SR.Security_Err_Desc)); 1200_htmlEncodedUrl = HttpUtility.HtmlEncode(url); 1209get { return HttpUtility.FormatPlainTextAsHtml(SR.GetString(SR.NotFound_Http_404));} 1245_htmlEncodedUrl = HttpUtility.HtmlEncode(url); 1266return HttpUtility.FormatPlainTextAsHtml(SR.GetString(SR.Forbidden_Extension_Desc, extMessage)); 1341detailsDesc = HttpUtility.HtmlEncode(detailsDesc); 1349string content = HttpUtility.HtmlEncode(SR.GetString( 1368notesDesc = HttpUtility.HtmlEncode(notesDesc); 1376string content = HttpUtility.HtmlEncode(SR.GetString( 1405get { return HttpUtility.FormatPlainTextAsHtml(SR.GetString(SR.CustomErrorFailed_Err_Desc)); } 1508sb.Append(HttpUtility.HtmlEncode(sourceLine)); 1652string htmlEncodedText = HttpUtility.HtmlEncode(e.ErrorNumber); 1657htmlEncodedText = HttpUtility.HtmlEncode(e.ErrorText); 1687sb.Append(HttpUtility.HtmlEncode(_sourceFilePath)); 1696sb.Append(HttpUtility.HtmlEncode(itc.ConvertToString(_sourceFileLineNumber))); 1712sb.Append(HttpUtility.HtmlEncode(e.ErrorNumber)); 1716sb.Append(HttpUtility.HtmlEncode(e.ErrorText)); 1726sb.Append(HttpUtility.HtmlEncode(HttpRuntime.GetSafePath(e.FileName))); 1751sb.Append(HttpUtility.HtmlEncode(line)); 1778sb.Append(HttpUtility.HtmlEncode(s)); 1813_message = HttpUtility.FormatPlainTextAsHtml(message); 1860_message = HttpUtility.FormatPlainTextAsHtml(e.BareMessage);
Handlers\AssemblyResourceLoader.cs (4)
260HttpUtility.UrlEncode(assemblyName.Name), 261HttpUtility.UrlEncode(assemblyName.Version.ToString(4)), 262HttpUtility.UrlEncode(AssemblyUtil.GetAssemblyFileVersion(assembly))); 412url = HttpUtility.HtmlEncode(url);
Handlers\TraceHandler.cs (12)
234AddCell(trow, "<h2>" + HttpUtility.HtmlEncode(vroot.Substring(1)) + "<h2><p>"); 289AddCell(trow, HttpUtility.HtmlEncode((string) current.Tables[SR.Trace_Request].Rows[0][SR.Trace_Url]).Substring(vrootLen)); 373parent = HttpUtility.HtmlEncode ((string) ((DataRow) en.Current)[SR.Trace_Parent_Id]); 374control = HttpUtility.HtmlEncode((string) ((DataRow) en.Current)[SR.Trace_Control_Id]); 464tcell = AddCell(trow, HttpUtility.FormatPlainTextAsHtml((string) datarow[SR.Trace_Category])); 467StringBuilder message = new StringBuilder(HttpUtility.FormatPlainTextAsHtml((string) datarow[SR.Trace_Message])); 472message.Append("<br>" + HttpUtility.FormatPlainTextAsHtml((string) errormessage)); 474message.Append("<br>" + HttpUtility.FormatPlainTextAsHtml((string) errorstack)); 543temp = HttpUtility.FormatPlainTextSpacesAsHtml(HttpUtility.HtmlEncode(cells[i].ToString())); 545temp = HttpUtility.HtmlEncode(cells[i].ToString()); 576AddCell(trow, HttpUtility.HtmlEncode(datatable.Rows[0][SR.Trace_Session_Id].ToString()));
Handlers\TraceHandlerErrorFormatter.cs (5)
24return HttpUtility.HtmlEncode(SR.GetString(SR.Trace_Error_Enabled_Description)); 48description = HttpUtility.HtmlEncode(SR.GetString(SR.Trace_Error_LocalOnly_Details_Desc)); 50description = HttpUtility.HtmlEncode(SR.GetString(SR.Trace_Error_Enabled_Details_Desc)); 61content = HttpUtility.HtmlEncode(SR.GetString(SR.Trace_Error_LocalOnly_Details_Sample)); 63content = HttpUtility.HtmlEncode(SR.GetString(SR.Trace_Error_Enabled_Details_Sample));
HttpCachePolicy.cs (3)
907expirationDate = HttpUtility.FormatHttpDateTimeUtc(_utcExpires); 915lastModifiedDate = HttpUtility.FormatHttpDateTimeUtc(_utcLastModified); 997expirationDate = HttpUtility.FormatHttpDateTimeUtc(utcExpires);
HttpClientCertificate.cs (2)
233return HttpUtility.FormatHttpDateTime(ValidFrom); 236return HttpUtility.FormatHttpDateTime(ValidUntil);
HttpCookie.cs (1)
468s.Append(HttpUtility.FormatHttpCookieDateTime(_expires));
HttpRequest.cs (2)
2879if (x != null && y != null && HttpUtility.TryParseCoordinates(x, out xVal) && HttpUtility.TryParseCoordinates(y, out yVal)) {
HttpResponse.cs (8)
1294title += ": " + HttpUtility.HtmlEncode(e.Message); 2406Write(HttpUtility.HtmlEncode(url)); 2424url = HttpUtility.HtmlAttributeEncode(url); 2427url = HttpUtility.HtmlAttributeEncode(HttpUtility.UrlEncode(url)); 3329return schemeAndAuthority + HttpEncoderUtility.UrlEncodeSpaces(HttpUtility.UrlEncodeNonAscii(path, Encoding.UTF8)) + queryAndFragment; 3333return HttpEncoderUtility.UrlEncodeSpaces(HttpUtility.UrlEncodeNonAscii(url, Encoding.UTF8)); 3345url = UrlEncodeIDNSafe(url.Substring(0, iqs)) + HttpUtility.UrlEncodeNonAscii(url.Substring(iqs), qsEncoding);
httpserverutility.cs (7)
937return HttpUtility.HtmlDecode(s); 949HttpUtility.HtmlDecode(s, output); 961return HttpUtility.HtmlEncode(s); 973HttpUtility.HtmlEncode(s, output); 986return HttpUtility.UrlEncode(s, e); 996return HttpUtility.UrlPathEncode(s); 1020return HttpUtility.UrlDecode(s, e);
HttpValueCollection.cs (7)
202HttpUtility.UrlDecode(name, encoding), 203HttpUtility.UrlDecode(value, encoding)); 247name = HttpUtility.UrlDecode(bytes, si, ti-si, encoding); 248value = HttpUtility.UrlDecode(bytes, ti+1, i-ti-1, encoding); 252value = HttpUtility.UrlDecode(bytes, si, i-si, encoding); 356return HttpUtility.UrlEncode(input); 360return HttpUtility.UrlEncodeUnicode(input);
Management\EventlogProvider.cs (1)
96dataFields.Add(HttpUtility.UrlDecode(reqInfo.RequestUrl));
Management\MailWebEventProvider.cs (2)
90return HttpUtility.HtmlEncode(SR.GetString(SR.WebEvent_event_email_subject, 100return HttpUtility.HtmlEncode(SR.GetString(SR.WebEvent_event_group_email_subject,
Management\TemplatedMailWebEventProvider.cs (1)
135msg.Subject = HttpUtility.HtmlEncode(SR.GetString(SR.WebEvent_event_email_subject_template_error,
Security\FormsAuthentication.cs (7)
536returnUrl = HttpUtility.UrlDecode(returnUrl); 748returnUrl = HttpUtility.UrlEncode( GetReturnUrl(false), 752returnUrl = HttpUtility.UrlEncode(context.Request.RawUrl, context.Request.ContentEncoding); 883amp = HttpUtility.UrlEncode(@"&"); 884question = HttpUtility.UrlEncode(@"?"); 886token = amp + HttpUtility.UrlEncode(QSVar + "="); 889token = question + HttpUtility.UrlEncode(QSVar + "=");
Security\FormsAuthenticationModule.cs (2)
303strRedirect = loginUrl + "&" + FormsAuthentication.ReturnUrlVar + "=" + HttpUtility.UrlEncode(strUrl, context.Request.ContentEncoding); 306strRedirect = loginUrl + "?" + FormsAuthentication.ReturnUrlVar + "=" + HttpUtility.UrlEncode(strUrl, context.Request.ContentEncoding);
Security\PassportAuthenticationModule.cs (2)
188String strLogoTag = id.LogoTag2(HttpUtility.UrlEncode(strUrl, context.Request.ContentEncoding)); 221strRedirect = redirectUrl + strSep + "ReturnUrl=" + HttpUtility.UrlEncode(strUrl, context.Request.ContentEncoding);
Security\PassportIdentity.cs (6)
68strMSPAuthCookie = HttpUtility.UrlDecode(strMSPAuthCookie); 69strMSPProfCookie = HttpUtility.UrlDecode(strMSPProfCookie); 70strMSPProfCCookie = HttpUtility.UrlDecode(strMSPProfCCookie); 147return HttpUtility.AspCompatUrlEncode(strIn); 152return HttpUtility.AspCompatUrlEncode(strIn); 158return str1 + HttpUtility.AspCompatUrlEncode(str2) + str3;
State\OutOfProcStateClientManager.cs (1)
317uri = HttpUtility.UrlEncode(s_uribase + id);
State\SessionIDManager.cs (2)
224return HttpUtility.UrlEncode(id); 236return HttpUtility.UrlDecode(id);
State\StateRuntime.cs (1)
291return CacheInternal.PrefixStateApplication + HttpUtility.UrlDecode(request.RawUrl);
State\StateWorkerRequest.cs (1)
138return HttpUtility.UrlDecode(_uri);
StaticFileHandler.cs (1)
469response.AppendHeader("Last-Modified", HttpUtility.FormatHttpDateTime(lastModified));
UI\ClientScriptManager.cs (2)
833string script = IncludeScriptBegin + HttpUtility.HtmlAttributeEncode(url) + IncludeScriptEnd; 1119HttpUtility.HtmlEncode((string)entry.Value, writer);
UI\Control.cs (1)
3058url = HttpUtility.UrlPathEncode(UrlPath.MakeRelative(baseRequestDir, url));
UI\ControlBuilder.cs (1)
1258s = HttpUtility.HtmlDecode(s);
UI\CssTextWriter.cs (1)
465writer.Write(HttpUtility.UrlPathEncode(urlValue));
UI\HtmlControls\HtmlContainerControl.cs (2)
111return HttpUtility.HtmlDecode(InnerHtml); 115InnerHtml = HttpUtility.HtmlEncode(value);
UI\HtmlControls\HtmlSelect.cs (1)
855HttpUtility.HtmlEncode(li.Text, writer);
UI\HtmlForm.cs (1)
258sb.Append(HttpEncoderUtility.UrlEncodeSpaces(HttpUtility.HtmlAttributeEncode(Page.ClientScript.GetWebResourceUrl(typeof(HtmlForm), "SmartNav.htm"))));
UI\HTMLTextWriter.cs (7)
783attributeValue = HttpUtility.HtmlAttributeEncode(value); 799return HttpUtility.HtmlAttributeEncode(value); 817return HttpUtility.UrlPathEncode(url); 1266HttpUtility.HtmlEncode(pos == 0 ? text : text.Substring(pos, length - pos), this); 1271HttpUtility.HtmlEncode(text.Substring(pos, nbsp - pos), this); 1308Write(HttpUtility.UrlEncodeNonAscii(Char.ToString(ch), Encoding.UTF8)); 1314HttpUtility.HtmlAttributeEncode(s, _httpWriter ?? writer);
UI\Page.cs (8)
2175_scrollPositionX = HttpUtility.TryParseCoordinates(xpos, out doubleValue) ? (int)doubleValue : 0 ; 2179_scrollPositionY = HttpUtility.TryParseCoordinates(ypos, out doubleValue) ? (int)doubleValue : 0 ; 5333Util.QuoteJScriptString(HttpUtility.HtmlEncode(e.Message)) : 5334HttpUtility.HtmlEncode(e.Message)); 5369Util.QuoteJScriptString(HttpUtility.HtmlEncode(e.Message)) : 5370HttpUtility.HtmlEncode(e.Message)); 5429Util.QuoteJScriptString(HttpUtility.HtmlEncode(e.Message)) : 5430HttpUtility.HtmlEncode(e.Message));
UI\PageAdapter.cs (4)
167url = HttpUtility.HtmlAttributeEncode(targetUrl); 242writer.Write("=" + HttpUtility.UrlEncode(state)); 255writer.Write("__EVENTTARGET=" + HttpUtility.UrlEncode(target)); 257writer.Write("__EVENTARGUMENT=" + HttpUtility.UrlEncode(argument));
UI\StringPropertyBuilder.cs (1)
42s = HttpUtility.HtmlDecode(s);
UI\TemplateParser.cs (1)
2697attribValue = HttpUtility.HtmlDecode(attribValue);
UI\TraceContext.cs (1)
607row[SR.Trace_Session_Id] = HttpUtility.UrlEncode(session.SessionID);
UI\Util.cs (1)
1122return HttpUtility.UrlDecode(path);
UI\WebControls\Adapters\MenuAdapter.cs (6)
282writer.Write(HttpUtility.HtmlEncode(String.Format( 290writer.Write(HttpUtility.HtmlEncode(String.Format( 296writer.Write(HttpUtility.HtmlEncode(SR.GetString(SR.MenuAdapter_Expand, item.Text))); 431writer.Write(HttpUtility.HtmlEncode(item.FormattedText)); 598string newPath = UnEscape(HttpUtility.UrlDecode(eventArgument.Substring(1))); 642UnEscape(HttpUtility.UrlDecode(eventArgument.Substring(1))));
UI\WebControls\BoundField.cs (4)
356value = HttpUtility.HtmlDecode(cellText); 399dataValueString = HttpUtility.HtmlEncode(dataValueString); 433dataValueString = HttpUtility.HtmlEncode(dataValueString); 551HeaderText = HttpUtility.HtmlEncode(unencodedHeaderText);
UI\WebControls\BulletedList.cs (4)
353writer.AddStyleAttribute(HtmlTextWriterStyle.ListStyleImage, "url(" + HttpUtility.UrlPathEncode(url) + ")"); 394HttpUtility.HtmlEncode(item.Text, writer); 414HttpUtility.HtmlEncode(item.Text, writer); 428HttpUtility.HtmlEncode(item.Text, writer);
UI\WebControls\Button.cs (1)
342options.ActionUrl = HttpUtility.UrlPathEncode(ResolveClientUrl(PostBackUrl));
UI\WebControls\DetailsView.cs (6)
1874((DataControlImageButton)firstButton).AlternateText = HttpUtility.HtmlDecode(pagerSettings.FirstPageText); 1893((DataControlImageButton)prevButton).AlternateText = HttpUtility.HtmlDecode(pagerSettings.PreviousPageText); 1913((DataControlImageButton)nextButton).AlternateText = HttpUtility.HtmlDecode(pagerSettings.NextPageText); 1933((DataControlImageButton)lastButton).AlternateText = HttpUtility.HtmlDecode(pagerSettings.LastPageText); 2002((DataControlImageButton)firstButton).AlternateText = HttpUtility.HtmlDecode(pagerSettings.FirstPageText); 2069((DataControlImageButton)lastButton).AlternateText = HttpUtility.HtmlDecode(pagerSettings.LastPageText);
UI\WebControls\FormView.cs (6)
1582((ImageButton)firstButton).AlternateText = HttpUtility.HtmlDecode(pagerSettings.FirstPageText); 1599((ImageButton)prevButton).AlternateText = HttpUtility.HtmlDecode(pagerSettings.PreviousPageText); 1617((ImageButton)nextButton).AlternateText = HttpUtility.HtmlDecode(pagerSettings.NextPageText); 1635((ImageButton)lastButton).AlternateText = HttpUtility.HtmlDecode(pagerSettings.LastPageText); 1702((ImageButton)firstButton).AlternateText = HttpUtility.HtmlDecode(pagerSettings.FirstPageText); 1764((ImageButton)lastButton).AlternateText = HttpUtility.HtmlDecode(pagerSettings.LastPageText);
UI\WebControls\GridView.cs (6)
2431((DataControlImageButton)firstButton).AlternateText = HttpUtility.HtmlDecode(pagerSettings.FirstPageText); 2452((DataControlImageButton)prevButton).AlternateText = HttpUtility.HtmlDecode(pagerSettings.PreviousPageText); 2473((DataControlImageButton)nextButton).AlternateText = HttpUtility.HtmlDecode(pagerSettings.NextPageText); 2494((DataControlImageButton)lastButton).AlternateText = HttpUtility.HtmlDecode(pagerSettings.LastPageText); 2563((DataControlImageButton)firstButton).AlternateText = HttpUtility.HtmlDecode(pagerSettings.FirstPageText); 2632((DataControlImageButton)lastButton).AlternateText = HttpUtility.HtmlDecode(pagerSettings.LastPageText);
UI\WebControls\ImageButton.cs (2)
364options.ActionUrl = HttpUtility.UrlPathEncode(ResolveClientUrl(PostBackUrl)); 407if (HttpUtility.TryParseCoordinates(requestValue, out doubleValue)) {
UI\WebControls\LinkButton.cs (1)
351options.ActionUrl = HttpUtility.UrlPathEncode(ResolveClientUrl(PostBackUrl));
UI\WebControls\ListControl.cs (1)
809HttpUtility.HtmlEncode(li.Text, writer);
UI\WebControls\Literal.cs (1)
141HttpUtility.HtmlEncode(text, writer);
UI\WebControls\LoginName.cs (1)
94userName = HttpUtility.HtmlEncode(userName);
UI\WebControls\LoginUtil.cs (2)
80userName = HttpUtility.HtmlEncode(userName); 81password = HttpUtility.HtmlEncode(password);
UI\WebControls\Menu.cs (1)
2585string nodePath = HttpUtility.HtmlDecode(eventArgument);
UI\WebControls\ModelErrorMessage.cs (1)
92Text = HttpUtility.HtmlEncode(error.ErrorMessage);
UI\WebControls\PasswordRecovery.cs (2)
1748userName.Text = HttpUtility.HtmlEncode(UserNameInternal); 1754question.Text = HttpUtility.HtmlEncode(Question);
UI\WebControls\SiteMapPath.cs (3)
595link.NavigateUrl = ResolveClientUrl(HttpUtility.UrlPathEncode(node.Url)); 599Context.Response.ApplyAppPathModifier(ResolveClientUrl(HttpUtility.UrlPathEncode(node.Url))) : node.Url; 601link.Text = HttpUtility.HtmlEncode(node.Title);
UI\WebControls\TextBox.cs (2)
712HttpUtility.HtmlEncode(Text, writer); 715HttpUtility.HtmlEncode(System.Environment.NewLine + Text, writer);
UI\WebControls\TreeView.cs (1)
3150string nodePath = HttpUtility.HtmlDecode(eventArgument.Substring(1));
UI\WebParts\RowToParametersTransformer.cs (1)
259label.Text = HttpUtility.HtmlEncode(OldProviderNames[2*i]);
UI\WebParts\WebPartManager.cs (2)
2421HttpUtility.UrlEncode(webPart.ID) + 2423"&query=" + HttpUtility.UrlEncode(queryString) :
Util\AspCompat.cs (1)
802return HttpUtility.HtmlEncode(str);
XmlSiteMapProvider.cs (1)
783string decodedUrl = HttpUtility.UrlDecode(url);
System.Web.DataVisualization (2)
Common\General\ImageMap.cs (2)
445return HttpUtility.UrlEncode(value); 521value = HttpUtility.HtmlAttributeEncode(value);
System.Web.DynamicData (9)
DynamicData\DynamicDataExtensions.cs (1)
320dataValueString = HttpUtility.HtmlEncode(dataValueString);
DynamicData\DynamicValidator.cs (3)
98ErrorMessage = HttpUtility.HtmlEncode(e.Message); 124ErrorMessage = HttpUtility.HtmlEncode(DynamicDataResources.DynamicValidator_CannotConvertValue); 167ErrorMessage = HttpUtility.HtmlEncode(StringLocalizerUtil.GetLocalizedString(attrib, Column.DisplayName));
DynamicData\FieldTemplateUserControl.cs (5)
440validator.ErrorMessage = HttpUtility.HtmlEncode(s_defaultRequiredAttribute.FormatErrorMessage(column.DisplayName)); 442validator.ErrorMessage = HttpUtility.HtmlEncode(columnErrorMessage); 483validator.ErrorMessage = HttpUtility.HtmlEncode(errorMessage); 519validator.ErrorMessage = HttpUtility.HtmlEncode( 537validator.ErrorMessage = HttpUtility.HtmlEncode(
System.Web.Extensions (36)
Handlers\ScriptModule.cs (1)
155redirectLocation = String.Join(" ", redirectLocation.Split(' ').Select(part => HttpUtility.UrlEncode(part)));
Handlers\ScriptResourceHandler.cs (1)
244HttpUtility.HtmlEncode(title) +
Script\Serialization\JavaScriptSerializer.cs (1)
362sb.Append(HttpUtility.JavaScriptStringEncode(input));
Script\Services\ClientProxyGenerator.cs (2)
227proxyPath = proxyPath.Substring(0, domainEnd) + HttpUtility.UrlPathEncode(proxyPath.Substring(domainEnd)); 233proxyPath = HttpUtility.UrlPathEncode(proxyPath);
UI\AuthenticationServiceManager.cs (2)
70sb.Append(HttpUtility.JavaScriptStringEncode(defaultServicePath)); 80sb.Append(HttpUtility.JavaScriptStringEncode(serviceUrl));
UI\ProfileServiceManager.cs (2)
95sb.Append(HttpUtility.JavaScriptStringEncode(defaultServicePath)); 113sb.Append(HttpUtility.JavaScriptStringEncode(serviceUrl));
UI\RoleServiceManager.cs (2)
81sb.Append(HttpUtility.JavaScriptStringEncode(defaultServicePath)); 100sb.Append(HttpUtility.JavaScriptStringEncode(serviceUrl));
UI\ScriptComponentDescriptor.cs (6)
181builder.Append(HttpUtility.JavaScriptStringEncode(e.Key)); 209builder.Append(HttpUtility.JavaScriptStringEncode(p.Key)); 242builder.Append(HttpUtility.JavaScriptStringEncode(p.Key)); 284builder.Append(HttpUtility.JavaScriptStringEncode(ElementIDInternal)); 328builder.Append(HttpUtility.JavaScriptStringEncode(_componentID)); 348builder.Append(HttpUtility.JavaScriptStringEncode(_elementID));
UI\ScriptManager.cs (6)
929HttpUtility.JavaScriptStringEncode(AtlasWeb.ScriptManager_FrameworkFailedToLoad) + 1187sb.Append(HttpUtility.UrlEncode((string)kvp.Key)); 1189sb.Append(HttpUtility.UrlEncode((string)kvp.Value)); 1211state = HttpUtility.ParseQueryString(serverState); 1714string scriptTag = "\r\n<script src=\"" + HttpUtility.HtmlAttributeEncode(url) + "\" type=\"text/javascript\"></script>"; 2011writer.Write(HttpUtility.JavaScriptStringEncode(GetStateString()));
UI\ScriptReference.cs (3)
320HttpUtility.UrlEncode(name), version, HttpUtility.UrlEncode(fileVersion), HttpUtility.UrlEncode(resourceName)
UI\ScriptRegistrationManager.cs (2)
480value = "\"" + HttpUtility.JavaScriptStringEncode(activeRegistration.Value) + "\""; 696attribValue = HttpUtility.HtmlDecode(attribValue);
UI\ScriptResourceAttribute.cs (4)
247builder.Append(HttpUtility.JavaScriptStringEncode(res.Key)); 249builder.Append(HttpUtility.JavaScriptStringEncode(res.Value)); 273builder.Append(HttpUtility.JavaScriptStringEncode(key)); 275builder.Append(HttpUtility.JavaScriptStringEncode(value));
UI\WebControls\DataPager.cs (2)
344sb.Append(HttpUtility.UrlEncode(field)); 346sb.Append(HttpUtility.UrlEncode(request.QueryString[field]));
UI\WebControls\NextPreviousPagerField.cs (1)
498((ImageButton)button).AlternateText = HttpUtility.HtmlDecode(buttonText);
UI\WebControls\NumericPagerField.cs (1)
372((ImageButton)button).AlternateText = HttpUtility.HtmlDecode(buttonText);
System.Web.Mobile (11)
UI\MobileControls\Adapters\XhtmlAdapters\XhtmlMobileTextWriter.cs (1)
204HttpUtility.HtmlEncode(value, writer);
UI\MobileControls\Design\Adapters\DesignerCommandAdapter.cs (1)
103tmpRequiredWidth = MSHTMLHostUtil.GetHtmlFragmentWidth(String.Format(CultureInfo.CurrentCulture, htmlFragment, HttpUtility.HtmlEncode(controlText.Substring(0, allowedLength))));
UI\MobileControls\Design\DeviceSpecificDesigner.cs (1)
178curChoice = HttpUtility.HtmlEncode(DesignerUtility.ChoiceToUniqueIdentifier(CurrentChoice));
UI\MobileControls\Design\MobileControlPersister.cs (5)
309sw.Write(HttpUtility.HtmlEncode(db.Expression)); 465HttpUtility.HtmlEncode((string)propValue, sw); 574persistValue = HttpUtility.HtmlEncode(obj.ToString()); 584persistValue = HttpUtility.HtmlEncode(persistValue); 628HttpUtility.HtmlEncode((String)persistValue, sw);
UI\MobileControls\Design\StyleSheetDesigner.cs (2)
484curStyle = HttpUtility.HtmlEncode(CurrentStyle.Name); 501curChoice = HttpUtility.HtmlEncode(DesignerUtility.ChoiceToUniqueIdentifier(CurrentChoice));
UI\MobileControls\MobileControl.cs (1)
1162HttpUtility.HtmlDecode(text, writer);
System.Workflow.Activities (1)
Designers\StateDesigner.cs (1)
2745string imageFilePath = System.Web.HttpUtility.UrlDecode((new Uri(new Uri(directory), path).LocalPath));