[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: |
|
| 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! |