#13472 [Com]: input type=hidden should be in a fieldset if there is one (XHTML and trans sid)
ID: 13472 Comment by: ebola at psychoholics dot org Reported By: mat at dioxine dot com Status: Closed Bug Type: Session related Operating System: Any PHP Version: 4.3.0 New Comment: I am going to test this very soon and will be fairly surprised if it isn't fixed. I'll test on latest 4.x and 5.x. Maybe a patch if i get some free time. Good night. Previous Comments: [2003-11-14 16:20:04] yallis at surr dot no I don't know if this bug has been fixed, but many of us is still stuck on hosts with "outdated" software. I solved this problem by putting this lines in my .htaccess: php_value arg_separator.output "&" php_value url_rewriter.tags "a=href,area=href,frame=src,input=src" ..and put the hidden form value where I wanted it with Seem to work properly and my XHTML1.1 is valid. [2003-05-25 14:42:06] harrydeboer at home dot nl PHP writes an extra in my code, which is html 4.01 strict. But in html 4.01 strict there should not be a closing slash, so the code becomes invalid. Is there any way to solve that without changing php.ini? [2003-03-05 02:36:54] node at nodefall dot de just open a new one... this seems to be the only way [2003-03-03 19:25:31] vmizuba at queens dot org "removing the 'form=' entry from url_rewriter.tags" does not solve the problem if: 1) session.use_cookies is "off" (forms need this hidden tag) 2) there is no access to php.ini. The solution is a matter of moving the hidden tag inserted below a block-level element as it was pointed out above. how do we get this bug reopened AND fixed correctly? TIA [2003-02-08 17:05:25] node at nodefall dot de I won't disable this feature Where is the Problem to add a ??? Could you please reopen this BUG! THX 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
#13472 [Com]: input type=hidden should be in a fieldset if there is one (XHTML and trans sid)
ID: 13472 Comment by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Closed Bug Type: Session related Operating System: Any PHP Version: 4.2.0 New Comment: to: [EMAIL PROTECTED] is this bug fixed entirely? re: [3 Mar 8:08am] [EMAIL PROTECTED] Notice .. any blocklevel tag is affected .. not just fieldset and as such any solution to this problem should take this issue into account. Previous Comments: [2002-09-25 06:11:46] [EMAIL PROTECTED] Fixed in 4.3 CVS. Thanks for your report. [2002-09-23 21:04:12] [EMAIL PROTECTED] I don't know if I should submit this as a new bug, or if its part of this one, but the element added should be empty ie 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 &. [2002-08-01 12:32:39] [EMAIL PROTECTED] 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? [2002-07-19 19:56:45] [EMAIL PROTECTED] Yep - this one is annoying me too. Could the input not be held in its own div /div tag pair? That would make it legal. Cheers, David Bond [2002-03-06 03:05:25] [EMAIL PROTECTED] Version update and added comment to summary 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
Bug #13472 Updated: input type=hidden should be in a fieldset if there is one
ID: 13472 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Analyzed Bug Type: Session related Operating System: Any PHP Version: 4.0.6 New Comment: Notice .. any blocklevel tag is affected .. not just fieldset and as such any solution to this problem should take this issue into account. Previous Comments: [2002-03-03 08:04:33] [EMAIL PROTECTED] I could not find any suitable workaround :( I hope this will be fixed soon, cause this is really killing me... [2002-03-03 07:34:13] [EMAIL PROTECTED] anyone know how long before this is fixed or if there is any known workaround? [2001-12-07 09:16:24] [EMAIL PROTECTED] Reclassified back to session-related because Yasuo persuaded me to call it a bug ;) [2001-12-05 13:22:53] [EMAIL PROTECTED] hum... not a bug ? PHP is not rewriting html code well, so I'd call it a bug :-) Anyway... any chance to get it fixed soon ? That shouldnt be /that/ hard to do, since you just have to write the input after the first fieldset if there is one, or jst after the form is there isnt any... [2001-12-05 10:22:58] [EMAIL PROTECTED] Not a bug. Making it a feature request. 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
Bug #13472 Updated: input type=hidden should be in a fieldset if there is one
ID: 13472 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Analyzed Bug Type: Session related Operating System: Any PHP Version: 4.0.6 New Comment: anyone know how long before this is fixed or if there is any known workaround? Previous Comments: [2001-12-07 09:16:24] [EMAIL PROTECTED] Reclassified back to session-related because Yasuo persuaded me to call it a bug ;) [2001-12-05 13:22:53] [EMAIL PROTECTED] hum... not a bug ? PHP is not rewriting html code well, so I'd call it a bug :-) Anyway... any chance to get it fixed soon ? That shouldnt be /that/ hard to do, since you just have to write the input after the first fieldset if there is one, or jst after the form is there isnt any... [2001-12-05 10:22:58] [EMAIL PROTECTED] Not a bug. Making it a feature request. [2001-09-28 04:12:48] [EMAIL PROTECTED] When enabling trans-id, php rewrites the forms to add an input type=hidden. the problem is that, in xhtml strict, inputs have to be in a fieldset element. when a fieldset element is already here, php still writes the input type=hidden before the fieldset, causing the page to be invalid html. reproducing is easy : http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en"> PHP Bug with forms and sessions its valid html, but php will, with transid, make it invalid by putting this input between the form and the fieldset... -- Edit this bug report at http://bugs.php.net/?id=13472&edit=1