Skip to content

Hardcode unicode whitespace into strings.trim() #1152

@TristonianJones

Description

@TristonianJones

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

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