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

multipart/form-data parsed wrong

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Major
    • 1.4.12.Final
    • 1.4.11.Final
    • Core
    • None
    • Hide

      Create multipart request with Spring RestTemplate or Apache HttpClient and you get no parts in Controller

      Show
      Create multipart request with Spring RestTemplate or Apache HttpClient and you get no parts in Controller

    Description

      Multipart/form-data request with boundary in unquoted string parsed wrong.

      I guess the problem is in io.undertow.server.handlers.form.MultiPartParserDefinition#create
      at string String boundary = Headers.extractQuotedValueFromHeader(mimeType, "boundary");
      may be need to use io.undertow.util.Headers#extractTokenFromHeader

      In Undertow 1.4.10 bug absent

      Attachments

        Activity

          People

            sdouglas1@redhat.com Stuart Douglas
            barlog_jira Maksim Pozdeyev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: