Enteee/git-sync-mirror

URL encode tokens

Enteee opened this issue · 1 comments

Some platforms (like bitbucket) issue authentication tokens containing /. This will break the current logic. The solution is to always url encode all tokens before using them in git clone.

https://stackoverflow.com/questions/57732289/how-can-i-git-clone-over-https-with-a-personal-access-token-containing

fixed with #4