You can disable CSRF protection on an individual form by passing false
as the constructor's third parameter.
Send.x and send.y are sent by the browser to indicate where the user
clicked the image.

On Thu, Sep 9, 2010 at 21:10, ScherlOMatic
<stefan.scherbich...@gmail.com> wrote:
> You are right. I'm using an image button. But that shouldn't be a
> problem, correct?
> The input tag looks like this:
> tag('input', array('src' => '/images/button_send.png', 'alt' => '',
> 'tabindex' => 3, 'name' => 'send', 'class' => 'send', 'type' =>
> 'image'));
>
>
> Because I need to see the url parameters for search engine optimation.
>
> Thx
>
> On 9 Sep., 21:05, Pietrino Atzeni <pietrino.atz...@gmail.com> wrote:
>> On 09/09/2010 21.01, ScherlOMatic wrote:
>>
>>
>>
>> > Hello!
>>
>> > I'm looking for a solution to remove unnecessary parameters from an
>> > url.
>>
>> > I created a form with a few widgets and a template which renders the
>> > form as a GET call.
>>
>> > Here is the result:
>> >http://www.domain.com/module/action?widget1=&widget2=&_csrf_token=dcf...
>>
>> > How can I remove the send.x, send.y and the csrf parameter from the
>> > url?
>>
>> > The function $this->useFields() doesn't change anything.
>>
>> > Ciao
>>
>> Hi,
>> are you using an image button?
>>
>> Also, why do you need a form to submit a get action?
>>
>> Ciao,
>> Pietro
>
> --
> If you want to report a vulnerability issue on symfony, please send it to 
> security at symfony-project.com
>
> You received this message because you are subscribed to the Google
> Groups "symfony users" group.
> To post to this group, send email to symfony-users@googlegroups.com
> To unsubscribe from this group, send email to
> symfony-users+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/symfony-users?hl=en
>

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to