Skip to content

fix: TruthTable handles multiple leading NOT with no spaces #555

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 2 commits into from
Jun 23, 2025

Conversation

DinoChiesa
Copy link
Collaborator

Small fix in TruthTable (Affects CC005) to correct handling of conditions with multiple leading NOT operators.

Like this:

        <Condition>NOT(request.header.auth-type = "passthrough") AND
        NOT (request.header.auth-type = "impersonated") AND
        NOT(request.header.auth-type = "platform") AND
        NOT
        (request.header.auth-type = "indirect")</Condition>

This is now parsed correctly.

@ssvaidyanathan ssvaidyanathan merged commit 6c12bcb into apigee:main Jun 23, 2025
2 checks passed
@DinoChiesa DinoChiesa deleted the cc005-cond-fix branch June 23, 2025 22:43
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