summaryrefslogtreecommitdiff
path: root/ext/standard/tests/url/bug53248.phpt
diff options
context:
space:
mode:
authorFelipe Pena <felipe@php.net>2010-11-07 12:59:22 (GMT)
committerFelipe Pena <felipe@php.net>2010-11-07 12:59:22 (GMT)
commit83ebbc36a13203254ff9c4b74f3eed3775b05a72 (patch)
treef0a9e567719cb82f233d4883d2dcad79534b8761 /ext/standard/tests/url/bug53248.phpt
parent1c556f2030d5093e332b04a62bbff52fe8ce22dd (diff)
downloadphp-83ebbc36a13203254ff9c4b74f3eed3775b05a72.tar.gz
- Fixed bug #53248 (rawurlencode RFC 3986 EBCDIC support misses tilde char).
patch by: Justin Martin (frozenfire@php)
Diffstat (limited to 'ext/standard/tests/url/bug53248.phpt')
-rw-r--r--ext/standard/tests/url/bug53248.phpt12
1 files changed, 12 insertions, 0 deletions
diff --git a/ext/standard/tests/url/bug53248.phpt b/ext/standard/tests/url/bug53248.phpt
new file mode 100644
index 0000000..5e31c51
--- /dev/null
+++ b/ext/standard/tests/url/bug53248.phpt
@@ -0,0 +1,12 @@
+--TEST--
+Bug #53248 (rawurlencode RFC 3986 EBCDIC support)
+--FILE--
+<?php
+
+var_dump(rawurlencode('A1_-.~'));
+var_dump(rawurldecode('%41%31%5F%2D%2E%7E'));
+
+?>
+--EXPECTF--
+string(6) "A1_-.~"
+string(6) "A1_-.~" \ No newline at end of file