Skip to content

Fix Dissector::parse to safely handle null raw input#29

Merged
kettasoft merged 1 commit intomasterfrom
fix/dissector
Oct 27, 2025
Merged

Fix Dissector::parse to safely handle null raw input#29
kettasoft merged 1 commit intomasterfrom
fix/dissector

Conversation

@kettasoft
Copy link
Copy Markdown
Owner

Previously, when $raw was null, the Dissector::parse method threw a type error because it only accepted array|string.
Now the method gracefully handles null input by treating it as an empty array, preventing unexpected exceptions during filter parsing.

@kettasoft kettasoft merged commit 147e122 into master Oct 27, 2025
1 check passed
@kettasoft kettasoft deleted the fix/dissector branch October 27, 2025 12:02
@kettasoft kettasoft self-assigned this Oct 27, 2025
@kettasoft kettasoft added the bug Something isn't working label Oct 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant