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