#13472 [Com]: input type=hidden should be in a fieldset if there is one (XHTML and trans sid)

From: Date: Wed, 08 Jan 2003 23:07:07 +0000
Subject: #13472 [Com]: input type=hidden should be in a fieldset if there is one (XHTML and trans sid)
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-29489@lists.php.net to get a copy of this message
ID: 13472 Comment by: php@jough.com Reported By: mat@dioxine.com Status: Closed Bug Type: Session related Operating System: Any PHP Version: 4.2.0 New Comment: It looks like they fixed the openness of input tags, i.e. - the tags close like <input /> rather than <input> but the hidden input field is still automatically inserted *outside* of a block-level element. It's a mistake to automatically force the hidden input field on us to begin with. Is there a way to turn JUST that part of the trans-id off? This bug is still very much a problem in 4.3 Previous Comments: ------------------------------------------------------------------------ [2003-01-05 19:10:09] node@nodefall.de is this really fixed????? i have php 4.3 and php add the input tag directly after the form tag! the only _fix_ i found is a comment in the php.ini ; to URLs. If you want XHTML conformity, remove the form entry. ------------------------------------------------------------------------ [2002-12-03 23:00:43] ebola@psychoholics.org to: sas@php.net is this bug fixed entirely? re: [3 Mar 8:08am] ebola@psychoholics.org Notice .. any blocklevel tag is affected .. not just fieldset and as such any solution to this problem should take this issue into account. ------------------------------------------------------------------------ [2002-09-25 06:11:46] sas@php.net Fixed in 4.3 CVS. Thanks for your report. ------------------------------------------------------------------------ [2002-09-23 21:04:12] nielsene@mit.edu I don't know if I should submit this as a new bug, or if its part of this one, but the <input> element added should be empty ie <input stuff /> in order to be valid xhtml in addition to the fieldset issue. Probably should be a php.ini option, similar to being able to change argument_seperator.output from & to &amp;. ------------------------------------------------------------------------ [2002-08-01 12:32:39] Martin@Skipsey.com I've tried using the following: ini_set("url_rewriter.tags", "a=href,area=href,form=action"); However, now get the session BOTH in the action and in a fake entry. Any suggestions? ------------------------------------------------------------------------ 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/13472 -- Edit this bug report at http://bugs.php.net/?id=13472&edit=1

« previous php.bugs (#29489) next »