Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bad finding comment characters in the line #264

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Bad finding comment characters in the line #264

wants to merge 1 commit into from

Conversation

dextromethorphanum
Copy link

Hi. I have a problem when using function mysql_connect_file and file where i store data to connect to database.
The contents of this file:

hostname = localhost
username = root
database = some_database
password = hz@WTNFHIxI7~{VAMx3*}raAs8#~DFbE

The plugin searches the file for symbols '#' or ';' in any position of the line, but according to the INI-file parsing rules (https://en.wikipedia.org/wiki/INI_file#Comments), a comment is a line in which the comment character is at the beginning of the line. Due to this plugin error, it is impossible to use the mysql_connect_file function if the password contains one of these special characters ('#' or ';'), and I am forced to use mysql_connect.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant