ID:               29799
 Updated by:       [EMAIL PROTECTED]
 Reported By:      cpuidle at gmx dot de
 Status:           Open
 Bug Type:         Documentation problem
 Operating System: WinXP SP2
 PHP Version:      5.0.1
 New Comment:

It's true that nowhere is it mentioned that any variables from outside
PHP will be automatically urldecode()'ed... but isn't this expected
behaviour? When you pass a variable, whether through POST, GET or
Cookies, don't you want that variable to be as it was sent, rather than
encoded?

I know this might be confusing for people coming from other languages
(such as Perl), but doesn't it make sense to have it that way?


Previous Comments:
------------------------------------------------------------------------

[2004-08-23 17:04:04] cpuidle at gmx dot de

Description:
------------
Running this code:

extract($_REQUEST);

the resulting (global) variables are url-decoded. I found that
$_REQUEST is already url-decoded and couldn't find any documentation?

Reproduce code:
---------------
.

Expected result:
----------------
make clean when url-decoding is performed.

Actual result:
--------------
.


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=29799&edit=1

Reply via email to