From d83a87724867f87e236c466df3dbb9a68c1670ba Mon Sep 17 00:00:00 2001 From: Michael Wallner Date: Mon, 31 Aug 2015 10:00:47 +0200 Subject: [PATCH] fix #11 the pointer to update was not reset --- tests/gh-issue11.phpt | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 tests/gh-issue11.phpt diff --git a/tests/gh-issue11.phpt b/tests/gh-issue11.phpt new file mode 100644 index 0000000..aba014a --- /dev/null +++ b/tests/gh-issue11.phpt @@ -0,0 +1,21 @@ +--TEST-- +crash when query string has nested array keys +--SKIPIF-- + +--FILE-- + +===DONE=== +--EXPECT-- +Test +a%5B0%5D%5B0%5D=x&a%5B1%5D%5B0%5D=x +===DONE=== -- 2.30.2