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

Verification of password containing [ or ] fails

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Component/s: azure-vm-agents-plugin
    • Labels:
      None
    • Environment:
      Jenkins 2.32.3
      Azure VM Agents 0.4.3
    • Similar Issues:

      Description

      When using a credential for the Admin account a password containing either left or right bracket ( [ or ] ) template verification fails. Removing these characters from password allows the template to verify properly. Not sure if this is by design, passwords can typically accept these special characters. Attached image shows example of verification failure.

        Attachments

          Activity

          Hide
          clguiman Claudiu Guiman added a comment -

          You're right. I'll update the plugin to accept all these special characters: "@#$%^&*-_!+=[]{}|\\:`,.?/~\"();\'" and I'll also update the error message

          Show
          clguiman Claudiu Guiman added a comment - You're right. I'll update the plugin to accept all these special characters: "@#$%^&*-_!+=[]{}|\\:`,.?/~\"();\'" and I'll also update the error message
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Claudiu Guiman
          Path:
          src/main/java/com/microsoft/azure/vmagent/util/AzureUtil.java
          src/main/resources/com/microsoft/azure/vmagent/Messages.properties
          src/test/java/com/microsoft/azure/vmagent/test/IntegrationTest.java
          http://jenkins-ci.org/commit/azure-vm-agents-plugin/957d2b265b1e89d35b1d5d6564367e78d3dfdf86
          Log:
          Allow more special characters as the VM password [FIXED JENKINS-43243]

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Claudiu Guiman Path: src/main/java/com/microsoft/azure/vmagent/util/AzureUtil.java src/main/resources/com/microsoft/azure/vmagent/Messages.properties src/test/java/com/microsoft/azure/vmagent/test/IntegrationTest.java http://jenkins-ci.org/commit/azure-vm-agents-plugin/957d2b265b1e89d35b1d5d6564367e78d3dfdf86 Log: Allow more special characters as the VM password [FIXED JENKINS-43243]
          Hide
          clguiman Claudiu Guiman added a comment -

          Fixed in 0.4.4

          Show
          clguiman Claudiu Guiman added a comment - Fixed in 0.4.4

            People

            • Assignee:
              clguiman Claudiu Guiman
              Reporter:
              crousn1 nathan crouse
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: