Wireshark-bugs: [Wireshark-bugs] [Bug 10284] _ws.col.Info field contains non-escaped quotes (for

Date: Tue, 20 Oct 2015 13:39:01 +0000

changed bug 10284


What Removed Added
CC   [email protected]

Comment # 2 on bug 10284 from
I hit something similar:

I ran this:
tshark -i lo -Y mysql.query -d tcp.port==5709,mysql -e tcp.stream -e
frame.time_epoch -e mysql.query -Tfields -E quote=d

The mysql.query can have newlines, so I needed '-E quote=d', but if the query
has quotes then they are note escaped.

Current output:
"0"    "1445347745.829466000"    "SELECT 'test'"
"0"    "1445347753.477506000"    "SELECT "test""
"0"    "1445347760.836709000"    "SELECT "test""

Desired output:
"0"    "1445347745.829466000"    "SELECT 'test'"
"0"    "1445347753.477506000"    "SELECT \"test\""
"0"    "1445347760.836709000"    "SELECT \"test\""

So maybe add an '-E escape=\' option?


You are receiving this mail because:
  • You are watching all bug changes.