18 references to CrossSiteScriptingValidation
System.Web (18)
Security\FormsAuthentication.cs (1)
546if (!string.IsNullOrEmpty(returnUrl) && CrossSiteScriptingValidation.IsDangerousUrl(returnUrl))
Security\Membership.cs (1)
362while(CrossSiteScriptingValidation.IsDangerousString(password, out index));
UI\Page.cs (2)
2361if (focusedControlId.Length > 0 && !CrossSiteScriptingValidation.IsDangerousString(focusedControlId, out match) && 2362CrossSiteScriptingValidation.IsValidJavascriptId(focusedControlId)) {
UI\WebControls\HyperLinkField.cs (1)
386if (!CrossSiteScriptingValidation.IsDangerousUrl(urlValue)) {
UI\WebControls\ImageField.cs (1)
512if (!CrossSiteScriptingValidation.IsDangerousUrl(urlValue)) {
UI\WebParts\BehaviorEditorPart.cs (4)
175if (CrossSiteScriptingValidation.IsDangerousUrl(value)) { 188if (CrossSiteScriptingValidation.IsDangerousUrl(value)) { 201if (CrossSiteScriptingValidation.IsDangerousUrl(value)) { 214if (CrossSiteScriptingValidation.IsDangerousUrl(value)) {
UI\WebParts\ImportCatalogPart.cs (1)
270if (!CrossSiteScriptingValidation.IsDangerousUrl(url)) {
UI\WebParts\PropertyGridEditorPart.cs (1)
121CrossSiteScriptingValidation.IsDangerousUrl(value.ToString())) {
UI\WebParts\WebPart.cs (4)
228if (CrossSiteScriptingValidation.IsDangerousUrl(value)) { 435if (CrossSiteScriptingValidation.IsDangerousUrl(value)) { 577if (CrossSiteScriptingValidation.IsDangerousUrl(value)) { 598if (CrossSiteScriptingValidation.IsDangerousUrl(value)) {
UI\WebParts\WebPartManager.cs (1)
3020if (urlAttr != null && CrossSiteScriptingValidation.IsDangerousUrl(valString)) {
Util\RequestValidator.cs (1)
82return !CrossSiteScriptingValidation.IsDangerousString(value, out validationFailureIndex);