Open jfelten opened 3 years ago
Special shell characters like '$' and '@' break the url parser when used like:
MONGO_URL="mongodb://user@domain.com:PasswordWith$@host1:27017,host2:27017/reaction?replicaSet=rs0&readPreference=primaryPreferred&authSource=admin" npx migrator migrate
Characters must be escaped:
MONGO_URL="mongodb://user\@domain.com:PasswordWith\$@host1:27017,host2:27017/reaction?replicaSet=rs0&readPreference=primaryPreferred&authSource=admin" npx migrator migrate
As is the error message is confusing and vague. Can documentation and error messages to ask uses to verify this? A simple error message asking to check for this will save users a lot of time and confusion.
Thanks @jfelten. Can an admin move this issue to migrator?
migrator
Special shell characters like '$' and '@' break the url parser when used like:
Characters must be escaped:
As is the error message is confusing and vague. Can documentation and error messages to ask uses to verify this? A simple error message asking to check for this will save users a lot of time and confusion.