[MDEV-8032] [PATCH] audit plugin - csv output broken Created: 2015-04-21  Updated: 2015-06-06  Resolved: 2015-06-06

Status: Closed
Project: MariaDB Server
Component/s: Plugin - Audit
Affects Version/s: 5.5.42, 10.0.17, 10.1.4
Fix Version/s: 5.5.44

Type: Bug Priority: Major
Reporter: Hans-Joachim Kliemeck Assignee: Alexey Botchkov
Resolution: Fixed Votes: 0
Labels: audit, server_audit

Attachments: File whitespace.patch    
Sprint: 5.5.44

 Description   

since the audit file output is csv formatted, special characters like newline or tab should be replaced on the query. this replacement is done on querys with passwords (escape_string_hide_passwords) but not on casual escape_string()



 Comments   
Comment by Hans-Joachim Kliemeck [ 2015-04-21 ]

created pull request https://github.com/MariaDB/server/pull/45

Comment by Daniel Black [ 2015-04-22 ]

Could you add a test to mysql-test/suite/plugins/t/server_audit.test to cover this case?

Comment by Alexey Botchkov [ 2015-06-06 ]

Thanks Hans-Joachim for noticing!
fixing patch http://lists.askmonty.org/pipermail/commits/2015-June/008009.html

Generated at Thu Feb 08 07:24:07 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.