From d0ea8d4d009bc996f5f443167b3dba3f4b1de041 Mon Sep 17 00:00:00 2001 From: "Herman J. Radtke III" Date: Tue, 9 Sep 2008 01:23:27 +0000 Subject: [PATCH] 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 --- reference/url/functions/urldecode.xml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/reference/url/functions/urldecode.xml b/reference/url/functions/urldecode.xml index dba09edd34..eab008d126 100644 --- a/reference/url/functions/urldecode.xml +++ b/reference/url/functions/urldecode.xml @@ -1,5 +1,5 @@ - + urldecode @@ -64,6 +64,17 @@ while ($i < count($a)) { + + &reftitle.notes; + + + The superglobals $_GET and $_REQUEST are already decoded. Using + urldecode on an element in $_GET or $_REQUEST could + have unexpected and dangerous results. + + + + &reftitle.seealso;