[Mono-bugs] [Bug 81404][Min] New - Content disposition not enclosing filename in quotes

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Thu Apr 19 18:48:43 EDT 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 maximm at mindtouch.com.

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

--- shadow/81404	2007-04-19 18:48:43.000000000 -0400
+++ shadow/81404.tmp.32288	2007-04-19 18:48:43.000000000 -0400
@@ -0,0 +1,37 @@
+Bug#: 81404
+Product: Mono: Class Libraries
+Version: 1.2
+OS: All
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Minor
+Component: System
+AssignedTo: mono-bugs at ximian.com                            
+ReportedBy: maximm at mindtouch.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Summary: Content disposition not enclosing filename in quotes
+
+Please fill in this template when reporting a bug, unless you know what you
+are doing.
+Description of Problem:
+This is a problem in System.Net.Mime.ContentDisposition.ToString().
+When setting a filename such as "a file with spaces.txt", the header will
+be sent as 
+
+Content-Disposition: inline; creation-date="19 Apr 2007 20:03:36 +0000";
+size=40; filename=a file with spaces.txt
+
+instead of 
+
+Content-Disposition: inline; creation-date="19 Apr 2007 20:03:36 +0000";
+size=40; filename="a file with spaces.txt"
+
+This causes browsers to treat the 'save as' filename as "a" instead of "a
+file with spaces.txt"
+
+Although it may not specifically describe the quotes in the rfc, MS.Net
+does put the filename in quotes.


More information about the mono-bugs mailing list