Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unicode issues when groups have non ASCII chars in name #38

Open
keul opened this issue May 12, 2015 · 0 comments
Open

Unicode issues when groups have non ASCII chars in name #38

keul opened this issue May 12, 2015 · 0 comments

Comments

@keul
Copy link
Member

keul commented May 12, 2015

I found an issue (probably the same at plone/plone.app.ldap#3) but fully reproducible using basic Plone groups. Plone 4.3.4.

the @@new-user page display at bottom a list of groups, to directly add users inside.

schermata 2015-05-12 a 17 47 10

A group id like AcQuaRI_nonconformità ("'AcQuaRI_nonconformit\xc3\xa0'") give the issue and unluckily Plone allow this kind of ids for groups.

I found a way to fix the UnicodeDecodeError changing two products, plone.app.users and plone.app.form. See 8585f0c and plone/plone.app.form@399dc85

Still the issue is not fixed: the @@new-user view is now loaded and works, but selecting the group with the bad id will raise a validation errore (invalid value).

Any tips?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant