Update of /cvsroot/csmail/csmail/src/CSMail
In directory sc8-pr-cvs1:/tmp/cvs-serv1813
Modified Files:
ChangeLog ContentDisposition.cs
Log Message:
2003-01-22
* ContentDisposition.cs : ctor(string) - Fixed bug.
Index: ChangeLog
===================================================================
RCS file: /cvsroot/csmail/csmail/src/CSMail/ChangeLog,v
retrieving revision 1.66
retrieving revision 1.67
diff -u -r1.66 -r1.67
--- ChangeLog 22 Jan 2003 13:48:36 -0000 1.66
+++ ChangeLog 22 Jan 2003 14:57:56 -0000 1.67
@@ -1,4 +1,8 @@
+2003-01-22 Gaurav Vaish <mastergaurav AT users DOT sf DOT net>
+
+ * ContentDisposition.cs : ctor(string) - Fixed bug.
+
2003-01-03 Gaurav Vaish <mastergaurav AT users DOT sf DOT net>
* MimeBodyPart.cs : Size - Partial implementation.
Index: ContentDisposition.cs
===================================================================
RCS file: /cvsroot/csmail/csmail/src/CSMail/ContentDisposition.cs,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- ContentDisposition.cs 22 Jan 2003 13:48:36 -0000 1.5
+++ ContentDisposition.cs 22 Jan 2003 14:57:57 -0000 1.6
@@ -32,9 +32,9 @@
if(headerLine == null || headerLine.Length == 0)
throw new ArgumentException("Illegal argument value" +
" for headerLine");
- if(headerLine.ToLower().StartsWith("content-disposition"))
+ if(headerLine.ToLower().StartsWith("content-disposition:"))
{
- headerLine = headerLine.Substring(21);
+ headerLine = headerLine.Substring(20);
}
parameters = Parse(headerLine, out type);
}
|