mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
Added a warning about using this function with $_GET and $_REQUEST as suggested in bug #44815.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@266011 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
c3385fd893
commit
d0ea8d4d00
1 changed files with 12 additions and 1 deletions
|
@ -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 @@ while ($i < count($a)) {
|
|||
</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>
|
||||
|
|
Loading…
Reference in a new issue