Bug #1880: Bug in vars

From: Date: Mon, 26 Jul 1999 16:07:59 +0000
Subject: Bug #1880: Bug in vars
Groups: php.dev 
Request: Send a blank email to php-dev+get-9169@lists.php.net to get a copy of this message
From: palmer@proscenio.org Operating system: Linux PHP version: 3.0.7 PHP Bug Type: Other Bug description: Bug in vars If i insert into a form field a <'> or a <"> or a <\> in the string var result i have <\`> or <\"> or <\\> respectly. The script that reproduces the problem is this: <FORM method=get> <input type=text name=ciccio value="<?print($ciccio);?>"> <input type=submit name=Submit value="submit"> </FORM> <?print("<h1>$ciccio</h1>");?> For example: In the text i write: "xx'xx\x" $ciccio var (after submit query) is: \"xx\'xx\\x\" This is a bug ? If you search on www.php.net trought the form you can view the problem. You write the string: """"" end it search: \"\"\"\"\"

« previous php.dev (#9169) next »