[Mono-bugs] [Bug 324229] [PATCH][WIN32] ArgumentNullException in SimpleWorkerRequest. MapPath

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Sep 20 18:46:38 EDT 2007


Robert Jordan <robertj at gmx.net> changed:

           What    |Removed                                         |Added
                 CC|                                                |robertj at gmx.net
            Summary|[WIN32] ArgumentNullException in                |[PATCH][WIN32] ArgumentNullException in
                   |SimpleWorkerRequest.MapPath                     |SimpleWorkerRequest.MapPath

--- Comment #1 from Robert Jordan <robertj at gmx.net>  2007-09-20 16:46:37 MST ---
Here's what I got from a CWL trace:

1. TemplateControlCompiler.AssignPropertyFromResources:
   inputFile:  c:\tmp\xsp5\web\Default.aspx

2. TemplateControlCompiler.AssignPropertyFromResources:
   inputFile:  \Default.aspx

   that's after:

   if (StrUtils.StartsWith (inputFile, physPath))
        inputFile = parser.InputFile.Substring (physPath.Length - 1);

3. HttpContext.GetLocalResourceObject

   virtualPath: \Default.aspx
   path: \

It looks loke the physical path to virtual path mapping is broken in

The fix is a simple as flipping the path separators, but I guess there
are some helper method inside Sys.Web that could map better between
phys and virt paths.

Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

More information about the mono-bugs mailing list