Skip to content
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

Validate ANDed expressions match the same SCO #83

Open
clenk opened this issue Feb 1, 2021 · 0 comments
Open

Validate ANDed expressions match the same SCO #83

clenk opened this issue Feb 1, 2021 · 0 comments

Comments

@clenk
Copy link
Contributor

clenk commented Feb 1, 2021

[file:name = 'foo' AND domain-name:value = 'example.com'] passes validation but should not. All Comparison Expressions connected by AND must match against the same SCO, which by definition means they must be of the same object type (file != domain-name).

It would be legal if they were connected by OR instead: [file:name = 'foo' OR domain-name:value = 'example.com']

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