Bugzilla – Attachment 211170 Details for
Bug 384236
System.Web.Service call WebMethod not working
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
IDP Log In
|
Forgot Password
[patch]
worker.diff
worker.diff (text/plain), 915 bytes, created by
Marek Habersack
on 2008-04-29 14:23:29 UTC
(
hide
)
Description:
worker.diff
Filename:
MIME Type:
Creator:
Marek Habersack
Created:
2008-04-29 14:23:29 UTC
Size:
915 bytes
patch
obsolete
>Index: src/WorkerRequest.cs >=================================================================== >--- src/WorkerRequest.cs (revision 73956) >+++ src/WorkerRequest.cs (working copy) >@@ -91,7 +91,21 @@ > } > > public override string MapPath (string path) { >- return path.Replace (GetAppPath (), GetAppPathTranslated ()); >+ string appPathTranslated = GetAppPathTranslated (); >+ if (path == null || path.Length == 0) >+ return appPathTranslated; >+ >+ string appPath = GetAppPath (); >+ if (path.StartsWith (appPath)) >+ return path.Replace (GetAppPath (), GetAppPathTranslated ()); >+ >+ string rest; >+ if (path [0] == '/') >+ rest = path.Substring (1); >+ else >+ rest = path; >+ >+ return Path.Combine (appPathTranslated, rest); > } > > public override string GetHttpVersion () {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
Actions:
View
|
Diff
Attachments on
bug 384236
:
211151
|
211152
| 211170