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(dbmanager): Add leading slash to db uri path rewrite #3493

Merged
merged 1 commit into from
Jul 19, 2024

Conversation

andrewmbenton
Copy link
Collaborator

Lack of leading slash was causing database connections to fail whenever dbmanager tried to access a newly-created database.

@kyleconroy kyleconroy merged commit b78e322 into main Jul 19, 2024
8 checks passed
@kyleconroy kyleconroy deleted the andrew/dbmanager-uri-fix branch July 19, 2024 22:28
@andrewmbenton
Copy link
Collaborator Author

In general this path rewrite isn't safe I don't think, since the database name in the original URI could exist in a query parameter rather than the path and then there'd be a potential conflict. We should modify the database name after parsing I think.

This pull request was closed.
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.

2 participants