You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@unomi.apache.org by "sergehuber (via GitHub)" <gi...@apache.org> on 2026/09/17 10:03:10 UTC
[PR] Simplify identifier validation patterns to a single character class [unomi]
sergehuber opened a new pull request, #873:
URL: https://github.com/apache/unomi/pull/873
## Summary
- Replace identifier patterns `^(\w|[-_@\.]){0,60}$` with the equivalent `^[\w@.-]{0,60}$` in the request, event and item schemas.
- Both forms accept the same identifiers; the single character class evaluates in linear time.
- Add `SchemaPatternSafetyTest` so shipped id patterns cannot regress to the alternation shape.
## Test plan
- [ ] `SchemaPatternSafetyTest`
- [ ] `SchemaIdPatternSafetyIT`
- [ ] CI
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@unomi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Simplify identifier validation patterns to a single character class [unomi]
Posted by "sergehuber (via GitHub)" <gi...@apache.org>.
sergehuber merged PR #873:
URL: https://github.com/apache/unomi/pull/873
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@unomi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Simplify identifier validation patterns to a single character class [unomi]
Posted by "sergehuber (via GitHub)" <gi...@apache.org>.
sergehuber commented on PR #873:
URL: https://github.com/apache/unomi/pull/873#issuecomment-5732169271
Rebased onto #872 so the `AllITs` suite entry composes. Merge #872 first.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@unomi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org