Skip to content

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

@keul

Description

@keul

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions