Menu

#1 multipart/form-data problems

open
7
2000-11-14
2000-11-13
No

Apparently there is a problem with the com.oreilly.servlet code being used for parsing multipart/form-data requests via HTTP/POST that requires two (2) input fields to be in the form.

Short term fix: the short term fix is to "hack" org.titanomachia.servlet.ServletParameters to not use oreilly if there is only one input element during a post.

Long term fix: develop our own multipart/form-data implementation.

Discussion

  • Bruce E. Sturgen

    • labels: 100100 --> Servlet Framework
     
  • James Garacci

    James Garacci - 2000-11-14

    Unable to reproduce the bug with respect to the need for two or more input parameters; however, I was able to reproduce the bug with zero parameters.

    Also, if the form is not enctype=multipart/form-data, then the code will not work.

    By experience I don't use multipart/form-data encoding unless there is binary data (files, images, etc.) in the request stream.

     
  • Bruce E. Sturgen

    I have refactored ServletParameters to isolate the multipart/form-data problem. I have also made it possible (I think) for forms that do not use multipart/form-data to work.

     
  • Bruce E. Sturgen

    • assigned_to: bsturgen --> jgaracci
     

Log in to post a comment.

Auth0 Logo