On Thu, 3 Sep 2015 09:24:40 -0700 (PDT) Bideep Bezbaruah <bbid...@googlemail.com> wrote:
> I have a use case to push files to git using command like: > > git push https://<username>:<password>github.company.com/abcd/devrepo > > master:master > > But, if the password contains special characters like ‘@’ and ‘$’, I > am converting it to hex code like ‘%40’ and %24. > > So, the URL looks like > > https://23784:abcd%40%241...@github.company.com/abcd/devrepo > > I was thinking it should work since I am encoding the special > character, but it throws 403 error everytime. This works fine for > password without special characters where we don’t need to encode any > characters. Before we'll try to do something about this... Your approach stinks security-wise. Are you sure you really do have no technical possibility to use ~/.netrc or a custom Git credential helper to make this work without encoding credentials into URLs? -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To unsubscribe from this group and stop receiving emails from it, send an email to git-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.