Hi,
i am trying to create multilingual site. I have few problems with
firewall configuration - all my standard URLs are prefixed with locale
settings - like "/{_locale}/privacy".
security:
firewalls:
main:
pattern: .*
anonymous: true
form_login:
check_path: /user/login_check
login_path: /login
failure_forward: false
failure_path: null
logout:
path: /user/logout
target: /
So, first problem is that in my project exists two types of routing (/
login, /cs/login, messy...) because these firewall routes are somewhat
hardcoded(?) and cant be add {_locale} variable. Second - locale on
these urls is indeed fixed to user session with all downsides - expire
& first hit get default locale. Third and this is most painfull - when
you log out, you loose locale setting too.
I am sorry If i am missing something. I am newbie to Symfony2
--
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 developers" 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-devs?hl=en