Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-8032

[PATCH] audit plugin - csv output broken

Details

    • 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()

      Attachments

        Activity

          h0nIg Hans-Joachim Kliemeck added a comment - created pull request https://github.com/MariaDB/server/pull/45
          danblack Daniel Black added a comment -

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

          danblack Daniel Black added a comment - Could you add a test to mysql-test/suite/plugins/t/server_audit.test to cover this case?

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

          holyfoot Alexey Botchkov added a comment - Thanks Hans-Joachim for noticing! fixing patch http://lists.askmonty.org/pipermail/commits/2015-June/008009.html

          People

            holyfoot Alexey Botchkov
            h0nIg Hans-Joachim Kliemeck
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.