Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Zelmanovich <igorz@mono-cvs.ximian.com>2006-12-19 15:22:19 +0300
committerIgor Zelmanovich <igorz@mono-cvs.ximian.com>2006-12-19 15:22:19 +0300
commit8ae1ec667175197b580c79a029813a56d216c044 (patch)
tree20467eefa43d3248b403b13bf6dc3ac3ed619d4d /mcs/class/System.Web/System.Web.Hosting/SimpleWorkerRequest.cs
parente34959f124cd4d20306d505df3518bc6109af5c7 (diff)
2006-12-19 Igor Zelmanovich <igorz@mainsoft.com>
* ServletWorkerRequest.cs: fixed: Path.Combine is used in GetFilePathTranslated to consider platform-depended PathSeparator char. svn path=/trunk/mcs/; revision=69732
Diffstat (limited to 'mcs/class/System.Web/System.Web.Hosting/SimpleWorkerRequest.cs')
-rw-r--r--mcs/class/System.Web/System.Web.Hosting/SimpleWorkerRequest.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/mcs/class/System.Web/System.Web.Hosting/SimpleWorkerRequest.cs b/mcs/class/System.Web/System.Web.Hosting/SimpleWorkerRequest.cs
index dc3c6110771..337440fb8b4 100644
--- a/mcs/class/System.Web/System.Web.Hosting/SimpleWorkerRequest.cs
+++ b/mcs/class/System.Web/System.Web.Hosting/SimpleWorkerRequest.cs
@@ -172,7 +172,7 @@ namespace System.Web.Hosting {
else
local_page = page;
- string path = UrlUtils.Combine (app_physical_dir, local_page);
+ string path = Path.Combine (app_physical_dir, local_page);
if (SecurityManager.SecurityEnabled && (path != null) && (path.Length > 0)) {
new FileIOPermission (FileIOPermissionAccess.PathDiscovery, path).Demand ();
}