Re: trans_sid and forms -- feature request???
| From: | Curt Zirzow | Date: | Mon, 29 Sep 2003 06:11:36 +0000 |
| Subject: | Re: trans_sid and forms -- feature request??? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-164198@lists.php.net to get a copy of this message | ||
* Thus wrote Justin French (justin@indent.com.au):
> Hi all,
>
> enable_trans_sid in the PHP ini has given me no grief to date, but now
> I'm working towards XHTML 1.0 Strict, and PHP seems to fall over when
> dealing with forms.
>
> So, one option is to exclude form= from the list or rewrite tags in
> php.ini, but this places a burden on the developers and writers to
> manually do this.
>
> Option 2 I had *hoped* would be for the action='' attribute of a form
> tag to be re-written rather than a hidden form element being added, but
> I haven't been able to get this to work.
>
>
> Can anyone offer a solution?
> Has this feature been requested before, or is it likely to be included
> in PHP 5?
I found this:
http://bugs.php.net/bug.php?id=13472
After reading that I'm still confused wether it was fixed.
So I tested it a bit with php 4.3.3 trans_id on...
; does nothing
url_rewriter.tags ="a=href,area=href,frame=src,input=src"
; makes bad <form><input/> entry
url_rewriter.tags ="a=href,area=href,frame=src,input=src,form=fakeentry"
; makes bad <form><input/> entry AND appends SID to 'action'
url_rewriter.tags ="a=href,area=href,frame=src,input=src,form=action"
I would think that the last one should only append the SID to
action and not add the input entry.
Curt
--
"I used to think I was indecisive, but now I'm not so sure."