nextcloud / nextcloud/password_policy
Make "must contain special character" rule Unicode Safe
Open
Nobody has claimed this yet.
0. Needs triage
bug
- Dominant language
- PHP
- Stars
- 39
- Forks
- 27
- Avg merge
- 1h 36m
- Merged PRs (30d)
- 10
Description
The password_policy app enforces the “must contain a special character” rule using ctype_alnum(). This is not Unicode-safe for UTF-8 passwords.
App version observed: password_policy 5.0.0
Nextcloud 33.0.2
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the password-policy check that calls ctype_alnum() and review existing tests for special-character validation. Reproduce the behavior with UTF-8 passwords, add regression coverage, and confirm that the rule handles those passwords without the reported Unicode limitation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- security
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 64/100