The media_type table should treat media types, e.g. application/3gppHal+json, as case-insensitive
Summary
Before using newer wireshark for http2 "Content-type"=="application/3gppHal+json", I created my own lua dissector as attached 3gppHal_json.lua. It is added to media_type dissector table, but for the pcap attached 15848.pcap, the dissector is never called. I tried replacing "application/3gppHal+json" with an existing value like "application/json", the dissector is called.
I don't know why my new media_type value doesn't work.
Steps to reproduce
Tshark version 3.6.3. Run tshark command line with -Xlua_script:3gppHal_json.lua to get text decode.
What is the current bug behavior?
(What actually happens)
What is the expected correct behavior?
(What you should see instead)
Sample capture file
(If possible attach a sample capture file, not screenshot of dissection, showing this issue. You can do so by using the paper clip button in the editor menu bar.)
Relevant logs and/or screenshots
(Paste any relevant logs here)
(Paste any relevant screenshots here)
Build information
(In Wireshark, select Help->About Wireshark from the main menu and use the button "Copy To Clipboard".
Please paste the complete output here. Or from the command line, run `tshark -v` or `wireshark -v`)