[prev in list] [next in list] [prev in thread] [next in thread]
List: php-doc-cvs
Subject: [DOC-CVS] cvs: phpdoc /en/reference/url/functions urldecode.xml
From: "Herman Radtke" <hradtke () php ! net>
Date: 2008-09-09 1:23:27
Message-ID: cvshradtke1220923407 () cvsserver
[Download RAW message or body]
hradtke Tue Sep 9 01:23:27 2008 UTC
Modified files:
/phpdoc/en/reference/url/functions urldecode.xml
Log:
Added a warning about using this function with $_GET and $_REQUEST as suggested in \
bug #44815.
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/url/functions/urldecode.xml?r1=1.7&r2=1.8&diff_format=u
Index: phpdoc/en/reference/url/functions/urldecode.xml
diff -u phpdoc/en/reference/url/functions/urldecode.xml:1.7 \
phpdoc/en/reference/url/functions/urldecode.xml:1.8
--- phpdoc/en/reference/url/functions/urldecode.xml:1.7 Wed Jun 20 22:25:34 2007
+++ phpdoc/en/reference/url/functions/urldecode.xml Tue Sep 9 01:23:27 2008
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.7 $ -->
+<!-- $Revision: 1.8 $ -->
<refentry xml:id="function.urldecode" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>urldecode</refname>
@@ -64,6 +64,17 @@
</para>
</refsect1>
+ <refsect1 role="notes">
+ &reftitle.notes;
+ <warning>
+ <para>
+ The superglobals $_GET and $_REQUEST are already decoded. Using
+ <function>urldecode</function> on an element in $_GET or $_REQUEST could
+ have unexpected and dangerous results.
+ </para>
+ </warning>
+ </refsect1>
+
<refsect1 role="seealso">
&reftitle.seealso;
<para>
--
PHP Documentation Commits Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic