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

Change-Listener: listener.db_name is already URI-Encoded #236

Open
HitomiTenshi opened this issue Mar 2, 2022 · 0 comments
Open

Change-Listener: listener.db_name is already URI-Encoded #236

HitomiTenshi opened this issue Mar 2, 2022 · 0 comments

Comments

@HitomiTenshi
Copy link

HitomiTenshi commented Mar 2, 2022

The change-listener process cannot find databases with plus signs in them (probably other special URI-Escaped signs as well). When trying to find the database the slouch dependency will use encodeURIComponent a second time on listener.db_name which will result in the database not being found.

I made a hacky fix here that undoes the first encodeURIComponent so that slouch can find the database:

HitomiTenshi@f24f263

Not sure if this is a good solution, but it does the job for now. If you want me to create a PR from that just say the word.

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

No branches or pull requests

1 participant