Websocket packets not decoded and displayed for Field type=Custom and Field name websocket.payload.text
Summary
I've been stuck using WireShark 1.12.9 for years now as it correctly displays WebSocket TCP stream field websocket.payload.text for the hardware I work with.
For example, dumping some WireShark log as text the Websocket column with field websocket.payload.text shows correctly my FWQueryVS message below:
Number Time Source Destination Protocol Length Websocket
1274 5384.271203000 192.168.3.1 192.168.4.2 HTTP 222
1275 5384.306394000 192.168.4.2 192.168.3.1 HTTP 183
1276 5384.355350000 192.168.3.1 192.168.4.2 TCP 54
1277 5384.696870000 192.168.3.1 192.168.4.2 WebSocket 107 {"key":"FWQueryVS","id":1,"data":{"channel":0}}
Steps to reproduce
Display a Websocket TCP stream with field "websocket.payload.text". Works in 1.12.9 but not in more recent versions including latest stable 4.0.7.
What is the current bug behavior?
One cannot select field type websocket.payload.text as was available in 1.12.9 and cannot display these JSON format WebSocket TCP packets.
What is the expected correct behavior?
See above in Summary
Sample capture file
Relevant logs and/or screenshots
Build information
Version 4.0.7 (v4.0.7-0-g0ad1823c).
Compiled (64-bit) using Microsoft Visual Studio 2022 (VC++ 14.32, build 31332), with GLib 2.72.3, with PCRE2, with zlib 1.2.12, with Qt 5.15.2, with libpcap, with Lua 5.2.4, with GnuTLS 3.6.3 and PKCS #11 (closed) support, with Gcrypt 1.10.1, with Kerberos (MIT), with MaxMind, with nghttp2 1.46.0, with brotli, with LZ4, with Zstandard, with Snappy, with libxml2 2.9.14, with libsmi 0.4.8, with QtMultimedia, with automatic updates using WinSparkle 0.8.0, with AirPcap, with SpeexDSP (using bundled resampler), with Minizip, with binary plugins.
Running on 64-bit Windows 10 (22H2), build 19045, with 11th Gen Intel(R) Core(TM) i9-11900 @ 2.50GHz (with SSE4.2), with 32489 MB of physical memory, with GLib 2.72.3, with PCRE2 10.40 2022-04-14, with Qt 5.15.2, with Npcap version 1.71, based on libpcap version 1.10.2-PRE-GIT, with c-ares 1.18.1, with GnuTLS 3.6.3, with Gcrypt 1.10.1, with nghttp2 1.46.0, with brotli 1.0.9, with LZ4 1.9.3, with Zstandard 1.5.2, without AirPcap, with light display mode, without HiDPI, with LC_TYPE=English_United States.utf8, binary plugins supported.