logo       

CVS: phpwiki/lib ziplib.php,1.43,1.44: msg#00199

web.wiki.phpwiki.checkins

Subject: CVS: phpwiki/lib ziplib.php,1.43,1.44

Update of /cvsroot/phpwiki/phpwiki/lib
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5476

Modified Files:
ziplib.php
Log Message:
fix bug 1044945: pgsrc upgrade problem if mime wo/body

Index: ziplib.php
===================================================================
RCS file: /cvsroot/phpwiki/phpwiki/lib/ziplib.php,v
retrieving revision 1.43
retrieving revision 1.44
diff -u -2 -b -p -d -r1.43 -r1.44
--- ziplib.php 25 Jan 2005 08:00:09 -0000 1.43
+++ ziplib.php 31 Jan 2005 00:28:48 -0000 1.44
@@ -625,10 +625,11 @@ function ParseRFC822Headers (&$string)
return false;

+ if (strlen($string) > 0) {
if (! preg_match("/^\r?\n/", $string, $match)) {
// No blank line after headers.
return false;
}
-
$string = substr($string, strlen($match[0]));
+ }

return $headers;
@@ -834,4 +835,7 @@ function ParseMimeifiedPages ($data)

// $Log$
+// Revision 1.44 2005/01/31 00:28:48 rurban
+// fix bug 1044945: pgsrc upgrade problem if mime wo/body
+//
// Revision 1.43 2005/01/25 08:00:09 rurban
// use unix type to support subdirs with forward slash and long filenames



-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise