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

Ampersand in Git password causes authentication failure

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

      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)

          [JENKINS-38194] Ampersand in Git password causes authentication failure

          Mark Reeves created issue -
          Mark Reeves made changes -
          Description Original: 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 ^& work round the issue (but if the same credentials are used elsewhere they will break)


          New: 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 they will break)


          Mark Reeves made changes -
          Description Original: 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 they will break)


          New: 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 will break)


          Mark Reeves made changes -
          Description Original: 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 will break)


          New: 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)


          Mark Waite made changes -
          Link New: This issue is related to JENKINS-38138 [ JENKINS-38138 ]
          Mark Waite made changes -
          Link New: This issue is related to JENKINS-38179 [ JENKINS-38179 ]
          Mark Waite made changes -
          Link New: This issue is duplicated by JENKINS-40166 [ JENKINS-40166 ]
          Mark Waite made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          Mark Waite made changes -
          Status Original: Resolved [ 5 ] New: Closed [ 6 ]

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

              Created:
              Updated:
              Resolved: