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

multipart/form-data parsed wrong

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major 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

      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

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

                Created:
                Updated:
                Resolved: