[CONC-66] quoted values in my.cnf are not de-quoted Created: 2014-01-22 Updated: 2014-01-22 Resolved: 2014-01-22 |
|
| Status: | Closed |
| Project: | MariaDB Connector/C |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major |
| Reporter: | Felipe Gasper | Assignee: | Georg Richter |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Environment: |
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. |
| Comments |
| Comment by Georg Richter [ 2014-01-22 ] |
|
Thx for your bug report. Issue was fixed in rev. 109 |
| Comment by Georg Richter [ 2014-01-22 ] |
|
Issue fixed in rev. 110 (not 109!) |
| Comment by Felipe Gasper [ 2014-01-22 ] |
|
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? |