Ticket #680 (closed defect: fixed)

Opened 3 years ago

Last modified 4 months ago

names in multipart requests should not be encoded

Reported by: mario@… Owned by: ttrenka
Priority: normal Milestone: 1.2
Component: Dojox Version: 0.2
Severity: normal Keywords:
Cc:

Description (last modified by ttrenka) (diff)

It turnes out that names in multipart requests should not be encoded. Even though, there seems to be no standard for this.

http://www.w3.org/TR/html4/interact/forms.html#h-17.13.4.2 states "a name attribute specifying the control name of the corresponding control. Control names originally encoded in non-ASCII character sets may be encoded using the method outlined in [RFC2045]."

I checked with firefox and a simple html test and it behaves like this: form with get = encode names form with post = encode names form with post and mulipart = do not encode names

Change History

Changed 2 years ago by dylan

  • owner changed from anonymous to alex
  • component changed from Core to IO
  • milestone set to 0.5

Changed 2 years ago by dylan

  • owner changed from alex to jburke

Changed 16 months ago by jburke

  • milestone changed from 0.9 to 1.0

Since this has been reported in the 0.2 timeframe, and I have not heard a strong outcry for this to be fixed, I'm moving it to 1.0.

It would be good to get a test case to make it easier to test a fix.

Changed 14 months ago by jburke

  • owner changed from jburke to ttrenka
  • component changed from IO to Dojox
  • milestone deleted

Multipart support has been moved to dojox.io.xhrMultiPart, reassigning there, not blocking 1.0.

Changed 10 months ago by dylan

  • milestone set to 1.3

Changed 5 months ago by ttrenka

  • status changed from new to closed
  • resolution set to fixed
  • description modified (diff)

I believe that names have not been encoded for a while now, at least with dojox.io.xhrMultiPart; just did a few sniff tests and the body of the POST looks correct.

Closing this ticket out.

Changed 4 months ago by bill

  • milestone changed from 1.3 to 1.2
Note: See TracTickets for help on using tickets.