Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-38194

Ampersand in Git password causes authentication failure

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • git-client-plugin
    • None
    • Windows server 2012 R2
      git-client-plugin 2.0.0

    Description

      Git client plugin 2.0.0 seems to have swapped from using .gitcredentials to GIT_ASKPASS and when I have an & character in my password the authentications fails. 1.21.0 was fine (and reverting to that version swaps back to using .gitcredentials)

      Escaping the & in the password stored in the credentials by using ^& works round the issue (but if the same credentials are used elsewhere then they will break)

      Attachments

        Issue Links

          Activity

            People

              markewaite Mark Waite
              karmseever Mark Reeves
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: