Bug #2588 Updated: get_meta_tags() dropping chars?

From: Date: Sun, 16 Jun 2002 18:17:31 +0000
Subject: Bug #2588 Updated: get_meta_tags() dropping chars?
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-10773@lists.php.net to get a copy of this message
ID: 2588 Updated by: sander@php.net Reported By: datorrey@yahoo.com -Status: Open +Status: Bogus Bug Type: Misbehaving function Operating System: Digital Unix 4.0 PHP Version: 3.0.12 New Comment: Thank you for taking the time to report a problem with PHP. Unfortunately, PHP 3 is no longer supported. Please download the latest version of PHP 4 from http://www.php.net/downloads.php If you are able to reproduce the bug with one of the latest versions of PHP, please change the PHP version on this bug report to the version you tested and change the status back to "Open". Again, thank you for your continued support of PHP. Previous Comments: ------------------------------------------------------------------------ [1999-10-22 10:32:02] datorrey@yahoo.com On Digital Unix 4.0D, get_meta_tags() returns the tag name minus the first character. A meta tag that looks like <meta name="123435" content="foo"> ends up as "2345" => "foo" in the array that get_meta_tags() stores its results in. Adding a space to the beginning of the tag name: <meta name=" 123435" content="foo"> produces "_2345" => "foo". The content of the tag is unaffected, only the name gets munged. Build info: ./configure --prefix=/opt/php3 --with-apache=../apache_1.3.9 --enable-track -vars --with-config-file-path=/opt/php3 gcc version 2.8.1 Hope this is useful... -daniel ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=2588&edit=1

« previous php.bugs (#10773) next »