[Mono-bugs] [Bug 520027] HttpResponse.WriteFile(filename) fails when filename case doesn't match filesystem case regardless of IOMAP setting
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Wed Jul 8 12:31:02 EDT 2009
http://bugzilla.novell.com/show_bug.cgi?id=520027
User steve at smartz.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=520027#c3
Steve Minar <steve at smartz.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |steve at smartz.com
--- Comment #3 from Steve Minar <steve at smartz.com> 2009-07-08 10:31:01 MDT ---
Hi Marek,
Perhaps my bug description did not make it clear enough. I encounter this
problem regardless of the Mono IOMAP directive setting.
I have mod_mono setup with:
MonoSetEnv MONO_IOMAP=all
I have tried the same code with:
MonoSetEnv MONO_IOMAP=case
With either configuration, File.Exists(filename) will return true for me,
regardless of the case mismatch between the filename string and the actual
file's name on disk. This is expected. However, when I pass the same filename
to response.WriteFile() the code fails to write the file. If I then change the
name of the file on the disk to match the casing of the filename string,
response.WriteFile() works properly.
It's behaving as if response.WriteFile() does not observe the MONO_IOMAP
setting.
--
Configure bugmail: http://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