nsyslog-parser icon indicating copy to clipboard operation
nsyslog-parser copied to clipboard

Fixes issues with escaping characters in CEF parsing

Open hanvyj opened this issue 5 years ago • 2 comments

Addresses issue https://github.com/solzimer/nsyslog-parser/issues/9

hanvyj avatar Sep 25 '20 17:09 hanvyj

Hi @hanvyj , I'm reviewing the changes so I can merge the pull request. Thanks for your contribution!

solzimer avatar Sep 28 '20 09:09 solzimer

Hope it's okay. I tried to use similar escaping logic for fields as was in the header parsing.

I was using this as a source for changing the test data (looked like it was originally from a similar source):

https://kc.mcafee.com/resources/sites/MCAFEE/content/live/CORP_KNOWLEDGEBASE/78000/KB78712/en_US/CEF_White_Paper_20100722.pdf

Edit: Hmm, did a commit to publish a fork, wasn't expecting it to get pulled into the PR

hanvyj avatar Sep 28 '20 22:09 hanvyj