[php-maint] Bug#556459: php5-common: PHP Bug #50158 FILTER_VALIDATE_EMAIL fails with valid addresses containing = or ?

Andrew Robert Nicols andrew.nicols at luns.net.uk
Mon Nov 16 10:11:48 UTC 2009

Package: php5-common
Version: 5.2.6.dfsg.1-1+lenny3
Severity: normal
Tags: patch

As reported to bugs.php.net, the filter_var function, when used with the
FILTER_VALIDATE_EMAIL filter, does not correctly parse e-mail addresses
which contain either a ? or an =, both of which are valid according to the
relevant RFCs.

A patch has been provided by php and is attached to the bug
(http://bugs.php.net/bug.php?id=50158) and the php subversion revision
number is 290791.

-- System Information:
Debian Release: 5.0.3
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-2-vserver-686-bigmem (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages php5-common depends on:
ii  libc6                         2.7-18     GNU C Library: Shared libraries
ii  sed                           4.1.5-6    The GNU sed stream editor

php5-common recommends no packages.

php5-common suggests no packages.

-- no debconf information

More information about the pkg-php-maint mailing list