Uploaded image for project: 'Railo'
  1. Railo
  2. RAILO-735

Multi-part form submissions stripping '+' characters

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 3.1
    • Fix Version/s: 3.1
    • Labels:
      None
    • Environment:

      Windows 7, Java 1.6.0_17, Tomcat6

      Description

      I'm seeing a problem with multi-part form submissions. I can recreate the problem on 012 and 013, it doesn't exist on 07. note sure about other versions.

      If a form is submitted with an enctype of multipart/form-data any '+' characters in data enter into text and textarea controls is replaced with spaces. This is with Application/script-protect set to 'None' in web context admin.

      This code will show the problem:

      <html>
      <head>
      <title>Form Test</title>
      </head>
      <body>
      <cfoutput>
      <cfif IsDefined('form.Test')>
      <p>#form.text#</p>
      </cfif>
      <cfform action="formtest.cfm" method="post" enctype="multipart/form-data">
      <input type="text" name="text" >
      <input type="submit" name="test" value="Test">
      </cfform>
      </cfoutput>
      </body>
      </html>

      Enter some text containing '' characters into the input field and submit. The text field in the form scope doesn't contain any '' characters.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                micstriit Michael Offner
                Reporter:
                GaryRatcliffe Gary Ratcliffe
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: