Opened 7 years ago

Last modified 5 years ago

#18249 new defect

dojo/request/iframe doesn't submit all post data

Reported by: Justin Doherty Owned by: Bryan Forbes
Priority: undecided Milestone: 1.15
Component: IO Version: 1.10.0
Keywords: Cc:
Blocked By: Blocking:


The request hides some post data when data is specified in the object.

The problem I encountered was if a parameter with the key "name" is specified in the object it does not actually end up in the post data of the request.

In the example below, if you look at the post data from the request you will see that "otherparameter" submits but "name" doesn't.

require(["dojo/request/iframe"],function(iframe) {"/url", {
    data: {
      name: "doesn't end up in post data",
      otherparameter: "ends up in post data"

I believe this is due to the name parameter being eaten by the following line: because the form's name was provided by the createForm method.

Change History (3)

comment:1 Changed 7 years ago by bill

Component: GeneralIO
Owner: set to Bryan Forbes

comment:2 Changed 6 years ago by dylan

Milestone: tbd1.12

comment:3 Changed 5 years ago by dylan

Milestone: 1.131.15

Ticket planning... move current 1.13 tickets out to 1.15 to make it easier to move tickets into the 1.13 milestone.

Note: See TracTickets for help on using tickets.