ID: 3792
Updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
-Status: Open
+Status: Bogus
Bug Type: Misbehaving function
Operating System: Linux 2.2.x
PHP Version: 3.0.14
New Comment:
browser problem
php can't even determine the field type data came from,
so there is no chance that it mangles hidden fields only
Previous Comments:
------------------------------------------------------------------------
[2000-03-10 09:12:11] [EMAIL PROTECTED]
If the value in a HTML-form-field (input-tag; type=hidden) is an
HTML-Entitie (like " or > etc.)
these Entities are converted to their real meenings (", > etc.)
automatically, when you use the variablees in a Script after sending.
This should NOT be!
In an input-field TYPE=TEXT it IS NOT!
The metthod (GET or POST) does'nt matter.
Test Script: (look at source HTML-Source) after button is clicked.
----8<--------
<form method=get action=<? echo $PHP_SELF; ?>>
<input type=hidden name=test value="ä">
<input type=submit value=TEST>
</form>
<?
if (isset($test)) {
echo "\$test (normal HTML) : $test<br>";
str_replace("&","&",$test); //convert "&" to "&" to display
ä
echo "\$test ( Plaintext ) : $test (should be: &auml;)";
}
?>
----->8-------
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=3792&edit=1