[Pkg-php-commits] [php/debian-sid] new debian patch fix_filter_var_email_test.patch

Sean Finney seanius at debian.org
Sat Feb 27 21:48:20 UTC 2010


Description: Backport upstream fix for broken email filtering test.
Origin: http://svn.php.net/viewvc/php/php-src/trunk/ext/filter/tests/033.phpt?r1=235867&r2=291212&view=patch
Bug-Debian: http://bugs.debian.org/571764

Closes: #571764
---
 debian/patches/fix_filter_var_email_test.patch |   14 ++++++++++++++
 debian/patches/series                          |    1 +
 2 files changed, 15 insertions(+), 0 deletions(-)
 create mode 100644 debian/patches/fix_filter_var_email_test.patch

diff --git a/debian/patches/fix_filter_var_email_test.patch b/debian/patches/fix_filter_var_email_test.patch
new file mode 100644
index 0000000..36d09f5
--- /dev/null
+++ b/debian/patches/fix_filter_var_email_test.patch
@@ -0,0 +1,14 @@
+Description: Backport upstream fix for broken email filtering test.
+Origin: http://svn.php.net/viewvc/php/php-src/trunk/ext/filter/tests/033.phpt?r1=235867&r2=291212&view=patch
+Bug-Debian: http://bugs.debian.org/571764
+--- php.orig/ext/filter/tests/033.phpt
++++ php/ext/filter/tests/033.phpt
+@@ -21,7 +21,7 @@ stripped            PHP  1  foo at bar.com
+ encoded             PHP  1  foo%40bar.com  http%3A%2F%2Fa.b.c  1.2.3.4   123  123abc%3C%3E%28%29  O%27Henry      %ED%95%98%ED%8D%BC
+ special_chars       PHP  1  foo at bar.com    http://a.b.c        1.2.3.4   123  123abc<>()  O'Henry    하퍼    
+ unsafe_raw          PHP  1  foo at bar.com    http://a.b.c        1.2.3.4   123  123abc<>()          O'Henry        하퍼    
+-email               PHP  1  foo at bar.com    http//a.b.c         1.2.3.4   123  123abc              O'Henry                  
++email               PHP  1  foo at bar.com    httpa.b.c           1.2.3.4   123  123abc              O'Henry                  
+ url                 PHP  1  foo at bar.com    http://a.b.c        1.2.3.4   123  123abc<>()          O'Henry                  
+ number_int               1                                     1234      123  123                                          
+ number_float             1                                     1234      123  123                                          
diff --git a/debian/patches/series b/debian/patches/series
index 4bdb1e2..57c89dc 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -46,3 +46,4 @@ shtool_mkdir_-p_-race-condition.patch
 qdbm-is-usr_include_qdbm.patch
 filter_validate_int.patch
 zend_int_overflow.patch
+fix_filter_var_email_test.patch
-- 
1.6.3.3




More information about the Pkg-php-commits mailing list