18 references to GetSafePath
System.Web (18)
Compilation\BuildResultCache.cs (1)
418
throw new HttpException(SR.GetString(SR.Failed_to_create_temp_dir, HttpRuntime.
GetSafePath
(_cacheDir)), e);
Compilation\ProfileBuildProvider.cs (1)
119
type.LinePragma = new CodeLinePragma(HttpRuntime.
GetSafePath
(prop.Source), prop.LineNumber);
ErrorFormatter.cs (4)
780
return HttpRuntime.
GetSafePath
(linePragma);
825
return HttpRuntime.
GetSafePath
(PhysicalPath);
1113
sb.Append(" in " + HttpRuntime.
GetSafePath
(fileName) +
1726
sb.Append(HttpUtility.HtmlEncode(HttpRuntime.
GetSafePath
(e.FileName)));
FileChangesMonitor.cs (6)
1479
SR.GetString(message, HttpRuntime.
GetSafePath
(path)) +
1485
return new HttpException(SR.GetString(message, HttpRuntime.
GetSafePath
(path)), hr);
1810
throw new HttpException(SR.GetString(SR.Invalid_file_name_for_monitoring, HttpRuntime.
GetSafePath
(alias)));
2118
throw new HttpException(SR.GetString(SR.Invalid_file_name_for_monitoring, HttpRuntime.
GetSafePath
(alias)));
2127
throw new HttpException(SR.GetString(SR.Invalid_file_name_for_monitoring, HttpRuntime.
GetSafePath
(alias)));
2176
throw new HttpException(SR.GetString(SR.Invalid_file_name_for_monitoring, HttpRuntime.
GetSafePath
(alias)));
HttpRuntime.cs (1)
2532
throw new HttpException(SR.GetString(SR.Access_denied_to_path,
GetSafePath
(path)));
Security\AuthStoreRoleProvider.cs (1)
569
HttpRuntime.
GetSafePath
(fileName)));
Security\FileAuthorizationModule.cs (1)
522
miscContent = SR.GetString(SR.Assess_Denied_Misc_Content3, HttpRuntime.
GetSafePath
(_strFile));
UI\Util.cs (2)
205
SR.GetString(SR.Unexpected_Directory, HttpRuntime.
GetSafePath
(filename)));
1231
return HttpRuntime.
GetSafePath
(GetAssemblyPathFromType(t));
UI\WebControls\AccessDataSource.cs (1)
245
throw new HttpException(SR.GetString(SR.AccessDataSource_NoPathDiscoveryPermission, HttpRuntime.
GetSafePath
(filename), ID));