#22070 [Com]: trans_id: Hidden fields placed incorrectly
| From: | zhou140 at yahoo dot com dot cn | Date: | Wed, 29 Sep 2004 12:00:14 +0000 |
| Subject: | #22070 [Com]: trans_id: Hidden fields placed incorrectly | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-66869@lists.php.net to get a copy of this message | ||
ID: 22070
Comment by: zhou140 at yahoo dot com dot cn
Reported By: jonas at understroem dot dk
Status: Closed
Bug Type: Session related
Operating System: Linux
PHP Version: 4.3.0
New Comment:
fix this bug please
it is still there at 4.3.8
this cause html 4.01 strict to fail.
Previous Comments:
------------------------------------------------------------------------
[2003-02-10 12:25:00] node at nodefall dot de
1. i won't use <fieldset> ... i use <div> instead
2. If i use fieldset (4.3.0) this is the result
<form id="session" method="post" action="?act=login"><input
type="hidden" name="PHPSESSID"
value="8a918ae1b8091340b6bdabebc43d623a"
/><fieldset><input type="hidden" name="PHPSESSID"
value="8a918ae1b8091340b6bdabebc43d623a" />
very funny
------------------------------------------------------------------------
[2003-02-09 16:00:40] sas@php.net
For xhtml, you use <form><fieldset>, so that the rewriter will include
the hidden input field after the fieldset.
------------------------------------------------------------------------
[2003-02-09 15:36:56] node at nodefall dot de
lol
is this the way how php is fixing bugs?
------------------------------------------------------------------------
[2003-02-05 16:01:38] sniper@php.net
You can disable the adding of the hidden field by
removing 'form=' from url_rewriter.tags
------------------------------------------------------------------------
[2003-02-05 09:16:05] magnus@php.net
Output from http://validator.w3.org:
Line 7, column 115: document type does not allow element
"input" here; missing one of "ins", "del", "h1",
"h2",
"h3", "h4", "h5", "h6", "p", "div",
"address", "fieldset"
start-tag
...="f78cfab3aa4745920992c99cabedc75f" />
^
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/22070
--
Edit this bug report at http://bugs.php.net/?id=22070&edit=1