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

Update README.md export command #708

Merged
merged 1 commit into from
Jun 7, 2023
Merged

Update README.md export command #708

merged 1 commit into from
Jun 7, 2023

Conversation

taiebnoe
Copy link
Contributor

@taiebnoe taiebnoe commented Jun 7, 2023

Quoting DATABASE_URL content variable prevents an issue from the command export. In case of a string (i.e. password) with given characters (i.e. '('), it can make the command fail. Quoting it prevents that from happening.
The issue happened on MacOS with an M1 chip.

Quoting DATABASE_URL content variable prevents an issue from the command export. In case of a string (i.e. password) with given characters (i.e. '('), it can make the command fail.
Quoting it prevents that from happening.
The issue happened on MacOS with an M1 chip.
@taiebnoe taiebnoe changed the title Update README.md Update README.md export command Jun 7, 2023
@nyurik nyurik merged commit 9c07fc9 into maplibre:main Jun 7, 2023
@nyurik
Copy link
Member

nyurik commented Jun 7, 2023

thanks! The irony of this is that double quotes would still process dollar signs $, back slashes \, and double quotes ", so in theory wrapping with single quotes is somewhat safer... except that in that case you would have to handle the single quote escaping :)

@taiebnoe taiebnoe deleted the patch-1 branch June 7, 2023 18:27
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