diff options
author | Ilia Alshanetsky <iliaa@php.net> | 2010-11-25 21:38:06 +0000 |
---|---|---|
committer | Ilia Alshanetsky <iliaa@php.net> | 2010-11-25 21:38:06 +0000 |
commit | 523da85c117562a9dd61b0beea6eb634a553a3a0 (patch) | |
tree | 5f6fcdeba76f803535e237edf0d983cc9ec699b2 /ext/iconv | |
parent | 05abc63d14cbb961dd19d75ab0a7964380a334f4 (diff) | |
download | php-git-523da85c117562a9dd61b0beea6eb634a553a3a0.tar.gz |
Fixed bug #53304 (quot_print_decode does not handle lower-case hex digits)
Diffstat (limited to 'ext/iconv')
-rw-r--r-- | ext/iconv/tests/bug53304.phpt | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/ext/iconv/tests/bug53304.phpt b/ext/iconv/tests/bug53304.phpt new file mode 100644 index 0000000000..7eb6c4109c --- /dev/null +++ b/ext/iconv/tests/bug53304.phpt @@ -0,0 +1,13 @@ +--TEST-- +Bug #53304 (quot_print_decode does not handle lower-case hex digits) +--SKIPIF-- +<?php extension_loaded('iconv') or die('skip iconv extension is not available'); ?> +--FILE-- +<?php +echo iconv_mime_decode('=?utf-8?Q?Nachricht_=c3=bcber_Kontaktformular_www.inexio.net?=', 0, 'UTF-8') . "\n"; +echo iconv_mime_decode('=?utf-8?Q?Nachricht_=C3=BCber_Kontaktformular_www.inexio.net?=', 0, 'UTF-8') . "\n"; + +?> +--EXPECT-- +Nachricht über Kontaktformular www.inexio.net +Nachricht über Kontaktformular www.inexio.net |