http://bugzilla.novell.com/show_bug.cgi?id=525974

User [email protected] added comment
http://bugzilla.novell.com/show_bug.cgi?id=525974#c1


Marek Habersack <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
           Platform|x86                         |All
         Resolution|                            |FIXED
         OS/Version|Windows XP                  |All
           Severity|Major                       |Normal




--- Comment #1 from Marek Habersack <[email protected]>  2009-08-14 
15:40:20 MDT ---
VPP is indeed important and it is implemented and used in Mono. Also, there is
a workaround for your problem, or rather there is a bug in your sample code.
Your VPP implementation always returns false from the DirectoryExists method
which, even though it works on MS.NET (and I think it's a bug in their
implementation), is not correct as it breaks the logic. If you serve a virtual
file, then the file lives in some virtual directory (in your case it's /), so
it is a bug to report that the / directory doesn't exist. The workaround would
be to return true to the enquiry about / directory existence. 
Nevertheless, I've added a fix to Mono which, should VPP report file's virtual
directory as non-existent, calls VPP.GetFile on the request virtual path and
that makes your sample work. 
Fix committed in r139969 (trunk), r139970 (2.4 branch) and r139971 (2.4.2
branch)

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to