I agree, I wrote about this not too long ago when I noticed the same
thing. The response I got was that I should be removing the empty
parameters myself. I guess link_to/url_for should do this themselves
to accomodate.

On Jun 29, 1:51 pm, Lukas Kahwe Smith <[EMAIL PROTECTED]> wrote:
> Hello,
>
> foo//bar/lala doesnt work as expected or rather foo=&bar=lala gets
> rewritten to foo//bar/lala .. which in turn is not parsed correctly.
>
> maybe it makes sense to just ignore empty values when rewritin?
>
> url_for('my/action?foo=&bar=lala')
>
> returns
>
> http://example.com/my/action/foo//bar/lala
>
> maybe it should rather return
>
> http://example.com/my/action/bar/lala
>
> regards,
> Lukas


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

Reply via email to