[Mono-bugs] [Bug 59429][Maj] New - MONO Beta 2 bug mapping spaces in URL filenames to actual files.

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Tue, 1 Jun 2004 23:20:01 -0400 (EDT)


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by davidandrewtaylor@hotmail.com.

http://bugzilla.ximian.com/show_bug.cgi?id=59429

--- shadow/59429	2004-06-01 23:20:01.000000000 -0400
+++ shadow/59429.tmp.3332	2004-06-01 23:20:01.000000000 -0400
@@ -0,0 +1,46 @@
+Bug#: 59429
+Product: Mono: Class Libraries
+Version: unspecified
+OS: Red Hat 9.0
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 001 One hour
+Priority: Major
+Component: Sys.Web
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: davidandrewtaylor@hotmail.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Summary: MONO Beta 2 bug mapping spaces in URL filenames to actual files.
+
+Description of Problem:
+Bug in MONO/XSP where if a filename contains a space and is thus URL 
+encoded by the browser it is not correctly mapped to the UNIX file 
+containing the space.
+
+Steps to reproduce the problem:
+1. Create file "test page.html" with space in filename with content:
+<html><body>Hello</body></html>
+
+2. Try to hit the file in a browser using:
+http://localhost:8080/test page.html
+which browser will URL encode to:
+http://localhost:8080/test%20page.html
+
+Actual Results:
+MONO / XSP:
+File '/test%20page.html' not found.
+Description: Error processing request. 
+Error Message: HTTP 404. File '/test%20page.html' not found. 
+
+Expected Results:
+Page should load as per IIS and other web servers.
+
+How often does this happen? 
+All the time on MONO Beta 2.
+
+Additional Information:
+Need to correctly map the URL encoded version (ie %20) back to the 
+filename containing the space.