Bug #13472 Updated: input type=hidden should be in a fieldset if there is one

2002-03-05 Thread hholzgra

 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:

you can modify this using .htaccess if your provider
allows that or change it at runtime usint ini_set()


Previous Comments:


[2002-03-05 08:07:14] [EMAIL PROTECTED]

Most people cannot access their host's php.ini...
Another workaround ? :)



[2002-03-04 05:43:31] [EMAIL PROTECTED]

as a workaround in php.ini:

  url_rewriter.tags = ...,form=fakeentry

change it to 

  url_rewriter.tags = ...,form=action

to have the id added to the action url instead
of being added as a hidden field

gives you legal xhtml, but session id is
always a GET parameter, even with method=POST ...




[2002-03-03 08:08:25] [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.



[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?



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=13472edit=1




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

2002-03-05 Thread yohgaki

 ID:   13472
 Updated by:   [EMAIL PROTECTED]
-Summary:  input type=hidden should be in a fieldset if there is
   one
 Reported By:  [EMAIL PROTECTED]
 Status:   Analyzed
 Bug Type: Session related
 Operating System: Any
-PHP Version:  4.0.6
+PHP Version:  4.2.0
 New Comment:

Version update and added comment to summary


Previous Comments:


[2002-03-05 08:16:19] [EMAIL PROTECTED]

you can modify this using .htaccess if your provider
allows that or change it at runtime usint ini_set()



[2002-03-05 08:07:14] [EMAIL PROTECTED]

Most people cannot access their host's php.ini...
Another workaround ? :)



[2002-03-04 05:43:31] [EMAIL PROTECTED]

as a workaround in php.ini:

  url_rewriter.tags = ...,form=fakeentry

change it to 

  url_rewriter.tags = ...,form=action

to have the id added to the action url instead
of being added as a hidden field

gives you legal xhtml, but session id is
always a GET parameter, even with method=POST ...




[2002-03-03 08:08:25] [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.



[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...



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=13472edit=1




Bug #13472 Updated: input type=hidden should be in a fieldset if there is one

2002-03-04 Thread hholzgra

 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:

as a workaround in php.ini:

  url_rewriter.tags = ...,form=fakeentry

change it to 

  url_rewriter.tags = ...,form=action

to have the id added to the action url instead
of being added as a hidden field

gives you legal xhtml, but session id is
always a GET parameter, even with method=POST ...



Previous Comments:


[2002-03-03 08:08:25] [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.



[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...



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=13472edit=1




Bug #13472 Updated: input type=hidden should be in a fieldset if there is one

2002-03-03 Thread mat

 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:

I could not find any suitable workaround :(
I hope this will be fixed soon, cause this is really killing me...


Previous Comments:


[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.



[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 :
?xml version=1.0 encoding=iso-8859-1?
!DOCTYPE html
PUBLIC -//W3C//DTD XHTML 1.0 Strict//EN
DTD/xhtml1-strict.dtd
html xmlns=http://www.w3.org/1999/xhtml; xml:lang=en lang=en
head
titlePHP Bug with forms and sessions/title
/head
body
form action=blabla.phpfieldsetinput type=submit value=test
//fieldset/form/body/html

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=13472edit=1




Bug #13472 Updated: input type=hidden should be in a fieldset if there is one

2002-03-03 Thread ebola

 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=13472edit=1