cvs: php-news-web / article.php

From: Date: Fri, 04 Oct 2002 18:41:31 +0000
Subject: cvs: php-news-web / article.php
Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-12930@lists.php.net to get a copy of this message
jimw Fri Oct 4 14:41:31 2002 EDT Modified files: /php-news-web article.php Log: a little more case-insensitivity Index: php-news-web/article.php diff -u php-news-web/article.php:1.17 php-news-web/article.php:1.18 --- php-news-web/article.php:1.17 Thu Sep 19 13:13:57 2002 +++ php-news-web/article.php Fri Oct 4 14:41:30 2002 @@ -28,11 +28,11 @@ if ($inheaders && ($line == "\n" || $line == "\r\n")) { $inheaders = 0; if ($headers['content-type'] - && preg_match("/charset=(\"|'|)(.+)\\1/s", $headers['content-type'], $m)) { + && preg_match("/charset=(\"|'|)(.+)\\1/is", $headers['content-type'], $m)) { $charset = trim($m[2]); } if ($headers['content-type'] - && preg_match("/boundary=(\"|'|)(.+)\\1/s", $headers['content-type'], $m)) { + && preg_match("/boundary=(\"|'|)(.+)\\1/is", $headers['content-type'], $m)) { $boundaries[] = trim($m[2]); $boundary = end($boundaries); }

« previous php.mirrors (#12930) next »