https://bugzilla.novell.com/show_bug.cgi?id=324011

User [EMAIL PROTECTED] added comment
https://bugzilla.novell.com/show_bug.cgi?id=324011#c17





--- Comment #17 from Gert Driesen <[EMAIL PROTECTED]>  2008-04-25 01:34:52 MST 
---
On .NET 2.0, serving content from subdirs works if you use
Path.DirectorySeparatorChar as separator. On .NET 1.1, this appears to be
broken.

What I would expect from Mono is to match the MS behavior of .NET 2.0. Perhaps
for both the 1.0 and 2.0 profile, since it doesn't make sense to match the
broken behavior of .NET 1.1.

This means, supporting Path.DirectorySeparatorChar for relative paths ('\' on
Windows, '/' on Linux).

To summarize (and please correct me if I'm wrong):

* Mono's SimpleWorkerRequest currently does not support any content in subdirs
* MS supports it in .NET 2.0 using relative file paths (instead of URLs)

I'll attach a very much simplified test that just wants serve an index.html
file from the doc subdir.

The results for running this test are:

NET 1.1: FAILED (404 - The resource cannot be found)
NET 2.0: OK
Mono 1.0: FAILED (No output)
Mono 2.0: FAILED (No output)

I tried with Mono on Windows and Linux.


-- 
Configure bugmail: https://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