Uploaded image for project: 'Aesh'
  1. Aesh
  2. AESH-409

AeshLine Parser doesn't handle quotes properly

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 1.0.0.Alpha1
    • 0.66.10
    • main
    • None

    Description

      The following command line:

      kcreg update -s 'redirectUris=["http://localhost:8980/myapp/*"]'
      

      Is parsed into the following tokens:

          kcreg
          -s
          redirectUris=[http://localhost:8980/myapp/*
          ]
      

      Double quotes have disappeared, and the ending ] character has been placed into a different token.

      Proper tokenisation would produce the following:

          kcreg
          -s
          redirectUris=["http://localhost:8980/myapp/*"]
      

      Attachments

        Activity

          People

            spederse@redhat.com Stale Pedersen
            marko.strukelj@gmail.com Marko Strukelj
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: