Skip to content

Implement unified URI validation #82

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

Merged
merged 3 commits into from
Apr 7, 2025

Conversation

jchadwick-buf
Copy link
Member

@jchadwick-buf jchadwick-buf commented Apr 5, 2025

This PR implements the formalized grammars that we have selected for unifying the CEL library functions across implementations.

These were just caused by not using a brace to initialize a nested member.
Now, all methods that parse information are prefixed parse*, and all methods that merely consume a part of the input string without collecting any information are prefixed consume*.

The helper methods for consuming have also been made more generic, to allow composing character ranges easier.
@jchadwick-buf jchadwick-buf marked this pull request as ready for review April 5, 2025 07:50
@jchadwick-buf
Copy link
Member Author

(Don't worry about touching this until Monday of course, just pushing this out to close out my workweek.)

@jchadwick-buf
Copy link
Member Author

Thanks.

@jchadwick-buf jchadwick-buf merged commit 1391217 into main Apr 7, 2025
10 checks passed
@jchadwick-buf jchadwick-buf deleted the jchadwick/formalize-uri-validation branch April 7, 2025 16:59
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

Successfully merging this pull request may close these issues.

2 participants