Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-12819

CLI invalid connection string results in zero exit code

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 12.0.2.Final, 12.1.0.CR1
    • 12.1.0.Dev01, 12.0.1.Final
    • CLI
    • None

    Description

      ./bin/cli.sh --connect 'http://operator:UvSgD5xAV@YU99za@test-batch-fail:11222'
      

      The above connection string is invalid as the password `@` character has not been escaped, resulting in a IllegalArgumentException being thrown. However, the cli returns with a zero escape code when it should be non-zero to indicate abnormal termination.

      Attachments

        Activity

          People

            remerson@redhat.com Ryan Emerson
            remerson@redhat.com Ryan Emerson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: