For Programmers: Free Programming Magazines  


Home > Archive > PHP Documentation > March 2007 > cvs: phpdoc /en/reference/url/functions http-build-query.xml









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author cvs: phpdoc /en/reference/url/functions http-build-query.xml
Jakub Vrana

2007-03-24, 7:58 am

vrana Sat Mar 24 08:35:53 2007 UTC

Modified files:
/phpdoc/en/reference/url/functions http-build-query.xml
Log:
Square brackets are escaped since PHP 5.1.3 (bug #40305)

http://cvs.php.net/viewvc.cgi/phpdo...6&diff_format=u
Index: phpdoc/en/reference/url/functions/http-build-query.xml
diff -u phpdoc/en/reference/url/functions/http-build-query.xml:1.15 phpdoc/en/reference/url/functions/http-build-query.xml:1.16
--- phpdoc/en/reference/url/functions/http-build-query.xml:1.15 Sat Feb 3 01:10:52 2007
+++ phpdoc/en/reference/url/functions/http-build-query.xml Sat Mar 24 08:35:53 2007
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.15 $ -->
+<!-- $Revision: 1.16 $ -->
<refentry id="function.http-build-query">
<refnamediv>
<refname>http_build_query</refname>
@@ -89,6 +89,12 @@
The <parameter>arg_separator</parameter> parameter was added.
</entry>
</row>
+ <row>
+ <entry>5.1.3</entry>
+ <entry>
+ Square brackets are escaped.
+ </entry>
+ </row>
</tbody>
</tgroup>
</informaltable>
@@ -160,10 +166,11 @@
</para>
<screen>
<![CDATA[
-user[name]=Bob+Smith&user[age]=47&user[sex]=M&user[dob]=5%2F12%2F1956&
-pastimes[0]=golf&pastimes[1]=opera&pastimes[2]=poker&pastimes[3]=rap&
-children[bobby][age]=12&children[bobby][sex]=M&children[sally][age]=8&
-children[sally][sex]=F&flags_0=CEO
+user%5Bname%5D=Bob+Smith&user%5Bage%5D=47&user%5Bsex%5D=M&
+user%5Bdob%5D=5%2F12%2F1956&pastimes%5B0%5D=golf&pastimes%5B1%5D=opera&
+pastimes%5B2%5D=poker&pastimes%5B3%5D=rap&children%5Bbobby%5D%5Bage%5D=12&
+children%5Bbobby%5D%5Bsex%5D=M&children%5Bsally%5D%5Bage%5D=8&
+children%5Bsally%5D%5Bsex%5D=F&flags_0=CEO
]]>
</screen>
<para>
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com