omerbenamram / evtx

A Fast (and safe) parser for the Windows XML Event Log (EVTX) format
Apache License 2.0
625 stars 61 forks source link

Do not double encode XML entity #223

Closed Crypt0-M3lon closed 1 year ago

Crypt0-M3lon commented 1 year ago

XML Entity are wrongly double encoded when generating XML, the proposed fix create a valid XML entity and to not re-encode special char (&). I also fixed tests that created a malformed entity within XML value.