Opened 13 years ago

Closed 11 years ago

Last modified 11 years ago

#680 closed defect (fixed)

names in multipart requests should not be encoded

Reported by: mario@… Owned by: Tom Trenka
Priority: high Milestone: 1.2
Component: Dojox Version: 0.2
Keywords: Cc:
Blocked By: Blocking:

Description (last modified by Tom Trenka)

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 (7)

comment:1 Changed 13 years ago by dylan

Component: CoreIO
Milestone: 0.5
Owner: changed from anonymous to alex

comment:2 Changed 13 years ago by dylan

Owner: changed from alex to James Burke

comment:3 Changed 12 years ago by James Burke

Milestone: 0.91.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.

comment:4 Changed 12 years ago by James Burke

Component: IODojox
Milestone: 1.0
Owner: changed from James Burke to Tom Trenka

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

comment:5 Changed 12 years ago by dylan

Milestone: 1.3

comment:6 Changed 11 years ago by Tom Trenka

Description: modified (diff)
Resolution: fixed
Status: newclosed

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.

comment:7 Changed 11 years ago by bill

Milestone: 1.31.2
Note: See TracTickets for help on using tickets.