[Mono-bugs] [Bug 80673][Wis] New - Directorys path with spaces being passed incorrectly
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Tue Jan 30 12:24:26 EST 2007
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 jcanfield at tshmail.com.
http://bugzilla.ximian.com/show_bug.cgi?id=80673
--- shadow/80673 2007-01-30 12:24:25.000000000 -0500
+++ shadow/80673.tmp.14249 2007-01-30 12:24:25.000000000 -0500
@@ -0,0 +1,50 @@
+Bug#: 80673
+Product: Mono: Class Libraries
+Version: 1.1
+OS:
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Wishlist
+Component: System
+AssignedTo: mono-bugs at ximian.com
+ReportedBy: jcanfield at tshmail.com
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: Directorys path with spaces being passed incorrectly
+
+Description of Problem:
+
+When passing a directory path to view a file via http, any path with spaces
+results in 404 errors. In my case, I'm using an <iframe> to embed doc/pdf
+files for viewing.
+
+Steps to reproduce the problem:
+
+1. Create a path string: string path = "/path with spaces/some file with
+spaces.pdf"
+
+this.EmbeddedFile.Text = "<IFRAME WIDTH='100%' HEIGHT='100%'
+NAME='DocumentFrame' SRC='" + path + "'><EMBED SRC='" + path + "'
+width='100%' height='100%'/></IFRAME>";
+
+2. Call the path in ASP
+
+Actual Results:
+
+404 file not found...if I remove spaces from file name and path the file
+renders properly.
+
+
+Expected Results:
+
+render/download file
+
+How often does this happen?
+
+Every time.
+
+Additional Information:
More information about the mono-bugs
mailing list