Commit 6756408
[SDK] Skip filter validation for whitespace-only filter strings
Guard both _validate_filter_syntax calls with filter_string.strip()
so that a whitespace-only --filter argument is treated as a no-op
instead of crashing the OQL parser with an IndexError.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 54cc348 commit 6756408
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
123 | 123 | | |
124 | 124 | | |
125 | 125 | | |
126 | | - | |
| 126 | + | |
127 | 127 | | |
128 | 128 | | |
129 | 129 | | |
| |||
389 | 389 | | |
390 | 390 | | |
391 | 391 | | |
392 | | - | |
| 392 | + | |
393 | 393 | | |
394 | 394 | | |
395 | 395 | | |
| |||
0 commit comments