Skip to content

Hardcode unicode whitespace into strings.trim() #1152

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

Open
1 of 3 tasks
TristonianJones opened this issue Apr 3, 2025 · 0 comments
Open
1 of 3 tasks

Hardcode unicode whitespace into strings.trim() #1152

TristonianJones opened this issue Apr 3, 2025 · 0 comments

Comments

@TristonianJones
Copy link
Collaborator

TristonianJones commented Apr 3, 2025

Describe the bug
Unicode whitespaces can implicitly change over time, to ensure the behavior of CEL is hermetic the set of supported whitespaces should be special-cased as part of the trim() implementation.

To Reproduce
Check which components this affects:

  • parser
  • checker
  • interpreter
@TristonianJones TristonianJones changed the title Remove unicode dependency in strings.trim() Hardcode unicode whitespace into strings.trim() Apr 4, 2025
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