Bug #17297 Updated: TEXTAREA and PHPSESSID

2002-05-17 Thread sniper

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

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



Previous Comments:


[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=17297edit=1




Bug #17297 Updated: TEXTAREA and PHPSESSID

2002-05-17 Thread needleboy

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

textareaa href=index.htmllink/a/textarea

will be rendered to

textareaa
href=index.html?PHPSESSID=sdhf87akjdasjd878a8sf...link/a/textarea

with cookies turned off, but php sessions used

thankyou for the swift response


Previous Comments:


[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=17297edit=1




Bug #17297 Updated: TEXTAREA and PHPSESSID

2002-05-17 Thread sniper

 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]

textareaa href=index.htmllink/a/textarea

will be rendered to

textareaa
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=17297edit=1