Uploaded image for project: 'MariaDB Connector/C'
  1. MariaDB Connector/C
  2. CONC-66

quoted values in my.cnf are not de-quoted

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • None
    • None
    • None
    • None
    • CentOS 6

    Description

      We recently began using the mariadb client library to compile Perl DBD::mysql. It works well except for that we noticed that users with ~/.my.cnf files that quoted their respective values are no longer able to log in without specifying the password directly.

      I looked in libmariadb/default.c, and there doesn’t appear to be anything that handles quoting: the quotes themselves or backslash-escaped quotes within a quoted value.

      Attachments

        Activity

          georg Georg Richter added a comment -

          Thx for your bug report.

          Issue was fixed in rev. 109

          georg Georg Richter added a comment - Thx for your bug report. Issue was fixed in rev. 109
          georg Georg Richter added a comment -

          Issue fixed in rev. 110 (not 109!)

          georg Georg Richter added a comment - Issue fixed in rev. 110 (not 109!)
          fgasper Felipe Gasper added a comment -

          Hi Georg,

          Thank you for your prompt attention to this!

          I notice that, although they don’t document it, MySQL’s equivalent code (mysys_ssl/my_default.cc) also interprets “\'” and “\"” (i.e., within the switch() statement). Is that being handled here?

          fgasper Felipe Gasper added a comment - Hi Georg, Thank you for your prompt attention to this! I notice that, although they don’t document it, MySQL’s equivalent code (mysys_ssl/my_default.cc) also interprets “\'” and “\"” (i.e., within the switch() statement). Is that being handled here?

          People

            georg Georg Richter
            fgasper Felipe Gasper
            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.