diff options
author | Igor Zelmanovich <igorz@mono-cvs.ximian.com> | 2006-12-19 15:22:19 +0300 |
---|---|---|
committer | Igor Zelmanovich <igorz@mono-cvs.ximian.com> | 2006-12-19 15:22:19 +0300 |
commit | 8ae1ec667175197b580c79a029813a56d216c044 (patch) | |
tree | 20467eefa43d3248b403b13bf6dc3ac3ed619d4d /mcs/class/System.Web/System.Web.Hosting/SimpleWorkerRequest.cs | |
parent | e34959f124cd4d20306d505df3518bc6109af5c7 (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.cs | 2 |
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 (); } |