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. 

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

              Created:
              Updated:
              Resolved: