ID:               17297
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
-Status:           Feedback
+Status:           Bogus
 Bug Type:         Session related
 Operating System: winME
 PHP Version:      4.1.2
 New Comment:

This is not bug but pretty much the expected behaviour.
You should use htmlentities() on the data for <textarea>

--Jani



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

[2002-05-17 18:31:58] [EMAIL PROTECTED]

<textarea><a href="index.html">link</a></textarea>

will be rendered to

<textarea><a
href="index.html?PHPSESSID=sdhf87akjdasjd878a8sf...">link</a></textarea>

with cookies turned off, but php sessions used

thankyou for the swift response

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

[2002-05-17 18:08:42] [EMAIL PROTECTED]

Please add an example piece of HTML which can be used to 
reproduce this.


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

[2002-05-17 17:03:09] [EMAIL PROTECTED]

i didna compile PHP

the php session adds ?PHPSESSID vars into html inside a textarea, which
causes hassles when you're using a textarea to store html code in the
db.

perhaps this has been dealt with, and if so, i apologise, but i couldna
find it.

in advance, thankyou

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


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

Reply via email to