You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The filter in the WebSockets tab allows filtering for a Payload pattern. This pattern is only matched on the visible first 150 characters of the payload and not on the whole text.
It is possible to see the packet with a Payload filter set to "timestamp" or "timestamp":, as seen here:
But if the filter is set to "timestamp": (trailing space), then the packet isn't listed any more.
This corresponds exactly to the 150 character limit enforced in WebSocketMessagesViewModel, however the preview is adding a "..." which is not seen in the actual UI, so this is probably a red herring. I haven't found another place adding a 150 character limit yet.
Steps to reproduce the behavior
Install the WebSockets add-on
Use the Local Proxy to intercept a websocket communication that has messages with >150 character length
go to the WebSockets tab
Tap the filter icon
Enter a Payload Pattern string that starts or ends beyond the first 150 characters of a given message
press Apply
Expected behavior
The filter should be applied to the whole payload, so that it would be possible to search for strings even in large websocket messages
Describe the bug
The filter in the WebSockets tab allows filtering for a Payload pattern. This pattern is only matched on the visible first 150 characters of the payload and not on the whole text.
Example from the WebSockets tab:
Actual payload displayed in the Request tab:
It is possible to see the packet with a Payload filter set to
"timestamp"
or"timestamp":
, as seen here:But if the filter is set to
"timestamp":
(trailing space), then the packet isn't listed any more.This corresponds exactly to the 150 character limit enforced in WebSocketMessagesViewModel, however the preview is adding a "..." which is not seen in the actual UI, so this is probably a red herring. I haven't found another place adding a 150 character limit yet.
Steps to reproduce the behavior
Expected behavior
The filter should be applied to the whole payload, so that it would be possible to search for strings even in large websocket messages
Software versions
Screenshots
No response
Errors from the zap.log file
No response
Additional context
No response
Would you like to help fix this issue?
The text was updated successfully, but these errors were encountered: