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