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

fix: incorrect parsing for fallback_application_name #2977

Closed
wants to merge 1 commit into from

Conversation

steve-chavez
Copy link
Member

@steve-chavez steve-chavez commented Sep 29, 2023

Fixes #2970

@steve-chavez steve-chavez changed the title fix: incorrect parsing 4 fallback_application_name fix: incorrect parsing for fallback_application_name Sep 29, 2023
@steve-chavez
Copy link
Member Author

This approach is fraught. As @laurenceisla mentioned, we also need to consider that ? can be inside the password.

A quick fix without a correct parser still has the potential to mess the uri.

Conclusion: only append the fallback_app_name on valid URIs, do not apply it for key/value formats. Document this as a limitation on the docs. This until we get a stable parsing library.

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

Successfully merging this pull request may close these issues.

Connection error - Database does not exists after patching to a newer version
2 participants