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

AeshLine Parser doesn't handle quotes properly

XMLWordPrintable

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

      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/*"]
      

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

                Created:
                Updated:
                Resolved: