cvs: php-news-web / article.php

From: Date: Thu, 19 Sep 2002 17:13:58 +0000
Subject: cvs: php-news-web / article.php
Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-12673@lists.php.net to get a copy of this message
jimw Thu Sep 19 13:13:58 2002 EDT Modified files: /php-news-web article.php Log: trim whitespace around mime type Index: php-news-web/article.php diff -u php-news-web/article.php:1.16 php-news-web/article.php:1.17 --- php-news-web/article.php:1.16 Wed Sep 11 06:04:52 2002 +++ php-news-web/article.php Thu Sep 19 13:13:57 2002 @@ -38,7 +38,7 @@ } if ($headers['content-type'] && preg_match("/([^;]+)(;|\$)/", $headers['content-type'], $m)) { - $mimetype = strtolower($m[1]); + $mimetype = trim(strtolower($m[1])); } if (!$started) { head("$group: ".format_subject($headers[subject], $charset));

« previous php.mirrors (#12673) next »