Uploaded image for project: 'Undertow'
  1. Undertow
  2. UNDERTOW-1885

Predicate Language: Parsing mishandles escaped quotes in string literal

XMLWordPrintable

    • Hide

      We setup a reproduce case using 

      set(attribute='%{o,test-header}', value='foo\'bar')

      and this was the result

      test-header: foo\'bar

      when the expected output must be

      test-header: foo'bar

      in the response headers the backslash escapes the quote but Undertow fails to remove the backslash character from the final string.

      Show
      We setup a reproduce case using  set(attribute= '%{o,test-header}' , value= 'foo\' bar') and this was the result test-header: foo\'bar when the expected output must be test-header: foo'bar in the response headers the backslash escapes the quote but Undertow fails to remove the backslash character from the final string.
    • Undefined

      bdw429s

      This was found using CommandBox CLI's integration with Undertow. 

        1. header-response.png
          13 kB
          balbino aylagas
        2. image (1).png
          13 kB
          balbino aylagas
        3. image-2021-04-23-10-41-25-097.png
          54 kB
          balbino aylagas
        4. image-2021-06-01-10-48-07-540.png
          8 kB
          balbino aylagas
        5. image-2021-06-01-10-50-49-251.png
          11 kB
          balbino aylagas
        6. image-2021-06-01-10-52-14-181.png
          38 kB
          balbino aylagas

              rhn-cservice-bbaranow Bartosz Baranowski
              cerberus23 balbino aylagas (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: