Skip to content

Remove db_pass escape logic #140

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

Merged
merged 5 commits into from
Oct 10, 2022
Merged

Remove db_pass escape logic #140

merged 5 commits into from
Oct 10, 2022

Conversation

drizuid
Copy link
Member

@drizuid drizuid commented Oct 10, 2022

We have had some infrequent complaints about DB_PASS not working at times. Unfortunately, the users who complain never provide any relevant detail that allows us to work to resolve the issue. The logic in this is to attempt to escape special characters in the password before feeding it into the database, the users who have the issue erroneously believe that db_password is the right var because of a lack of understanding, however, this does indicate that bypassing our escape logic is a potential solution. I did some testing with various passwords and had no issues by removing our escape logic at all.

If this works, we will want to replicate this PR to mariadb and other containers with a similar var and escape logic.

drizuid added a commit to linuxserver/docker-mariadb that referenced this pull request Oct 10, 2022
if linuxserver/docker-bookstack#140 works, we should replicate.
do not merge until we consider the above PR to be sufficiently tested (but before end of month so i can get a tshirt ;)
@drizuid drizuid changed the title Update 50-config Remove db_pass escape logic Oct 10, 2022
@LinuxServer-CI
Copy link
Collaborator

@LinuxServer-CI
Copy link
Collaborator

2 similar comments
@LinuxServer-CI
Copy link
Collaborator

@LinuxServer-CI
Copy link
Collaborator

@drizuid drizuid merged commit 2e9e08e into master Oct 10, 2022
@drizuid drizuid deleted the remove-escape-logic branch October 10, 2022 16:26
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.

3 participants