maxammann / trello-to-deck

trello-to-deck reads from an JSON export of Trello and creates a board in Nextcloud Deck.
MIT License
67 stars 9 forks source link

Nextcloud password requires escaping special characters #17

Closed ghost closed 3 years ago

ghost commented 3 years ago

When uploading a Trello board to a particular account I had trouble authenticating because special characters were not being escaped correctly. I had to add a backslash to each character to pass the authentication. Specifically the characters I escaped were _, $, [ and { although I imagine that not all of these are causing the problem.

I'm not sure what common practice is with this but it should at least be covered in the README.

maxammann commented 3 years ago

I think the solution would be not to pass the password via command line parameters. That way it also isn't stored to the bash history.

Can you provide an example where you would have to escape a password? I think this is more of a bash/shell problem.

When putting a string into "quotes" you need to escape for example $. That is not need if you put it into 'quotes'.

maxammann commented 3 years ago

I'm very sure this is related to bash/zsh and not a problem of this script, reopen if you think this is wrong.