[Product-Developers] [LanguageTool] language codes in URL...

Andreas Jung lists at zopyx.com
Tue Apr 10 11:57:31 UTC 2012


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



Martijn Pieters wrote:

> As Laurence points out, you can provide your own language negotiator 
> that ignores the top-level language folder when logged in.

Sounds reasonable however my debugger tells me that the security context
inside the constructor of the default negotiator of portal_languages is
always Anonymous User (likely because the negotiation happens before
authentication). What's confusing me: the negotiator code contains
checks for isAnonymousUser() while the security context seems to be
always Anonymous User - either dead code or I am doing something wrong here.

- -aj
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQGUBAEBAgAGBQJPhCArAAoJEADcfz7u4AZjKxcLvAiXVHXA2FZVz3c0fyz8wSrN
JtW9hL3RRJMBI1y05eQ6HdXb/RZvNvvS+tki7g/qnuC1F+FKCacerhvjGpr7YDss
k3WeQKCcz0k1BMFBlaT3evKEcs1x0JAayef6QNc68Jne7kNBMu3Q0Rp7WatLvVXR
nrJ2jPcYasG/i3+4VsDqTkUiz4HghS3CdZKe3QBc5w2C+LuM2eDuWkomXKkIAcvN
8FKcpYPUxDv2xYkNMnUfCJS63L5nHReTBWMAB/GjT1L4kCuWrAZ5sYV9TvGiGerJ
Q1LHor/Po1fVO080ljO8C4UusFkU4oBY/47ptYwAbB08xjy3ZiutjRqvCMwOaZao
oKOwqp92iC7UAXrHnpZxTriVIWttudtKjuQ59MIegECFGhXKdgiYjDQPWB9wzh/P
gkyBwWck6xpFGiZ6K1IzngcnfxF8xk/z4H/RswqocgUY122s8hki5SRep/2YuD47
6PfRwqL+1TRpgs44Nt8lRNxnP2Ld+/8=
=TpZH
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lists.vcf
Type: text/x-vcard
Size: 325 bytes
Desc: not available
URL: <http://lists.plone.org/pipermail/plone-product-developers/attachments/20120410/71441ac2/attachment.vcf>


More information about the Product-Developers mailing list