[php-maint] Bug#592776: php5-common: filter_var invalidates a hostname that includes a hypen (-)

Fabian Geisberger fabian.debian at geisberger.com
Thu Aug 12 17:58:38 UTC 2010


Package: php5-common
Version: 5.3.2-1
Severity: normal
Tags: upstream


var_dump(filter_var("http://exa-mple.com", FILTER_VALIDATE_URL));

results in bool(false)

see http://bugs.php.net/bug.php?id=51192

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages php5-common depends on:
ii  libc6                         2.11.2-2   Embedded GNU C Library: Shared lib
ii  sed                           4.2.1-7    The GNU sed stream editor

Versions of packages php5-common recommends:
ii  php5-suhosin                  0.9.31-1   advanced protection module for php

php5-common suggests no packages.

-- no debconf information





More information about the pkg-php-maint mailing list