From c9c2c0e1f8ab11215c7b1526625c779099a5ad4a Mon Sep 17 00:00:00 2001 From: Hannes Magnusson Date: Mon, 26 Jun 2006 22:20:27 +0000 Subject: [PATCH] MFH: test for bug #37244 --- ext/standard/tests/strings/bug37244.phpt | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 ext/standard/tests/strings/bug37244.phpt diff --git a/ext/standard/tests/strings/bug37244.phpt b/ext/standard/tests/strings/bug37244.phpt new file mode 100644 index 00000000000..0718c8a4d3e --- /dev/null +++ b/ext/standard/tests/strings/bug37244.phpt @@ -0,0 +1,18 @@ +--TEST-- +Bug #37244 (base64_decode violates RFC 3548) +--FILE-- + +--EXPECT-- +string(93) "Implementations MUST reject the encoding if it contains characters outside the base alphabet." +bool(false) +string(92) "Implemem][ۜUTZXH[[Y]۝Z[\X\]YHH\H[X] " +