Custom Query (18300 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (121 - 123 of 18300)

Ticket Resolution Summary Owner Reporter
#124 fixed '+' isn't properly escaped for bind requests david david
Description

bind using a formNode that has a field with a value with a '+' in it and try a GET (haven't tested POST) and the '+' will get passed in the clear. This is bad because '+' are read as spaces by servers.

#125 duplicate Could not insert custom parameters for Post methods while having form elements anonymous knave
Description

dojo.io.bind is unable to mix both formNode and customised fields, as some occasions, it may be required.

e.g.

dojo.io.bind({
  url: "test.php",
  formNode: document.getElementById("frm"),
  method: "post",
  mimetype: "text/plain",
  load: function( type, data, evt ) {
    alert(data);
  },
  content:{
    TO_ADD : "yes",
    TO_TEST: "yes"
  }
});

Assumming the form has 2 hidden fields, it will submit as : MyField1=FIELD1Value&MyField2=FIELD2ValueTO_ADD=yes&TO_TEST=yes notice that the last element's value is concatenated with the custom content's first param's value.

should u use the following instead:

dojo.io.bind({
  url: "test.php",
  mimetype: "text/plain",
  load: function( type, data, evt ) {
    alert(data);
  },
  content:{
    TO_ADD : "yes",
    TO_TEST: "yes"
  }
});

, the output will be test.php?TO_ADD=yes&TO_TEST=yes& note that there is an extra "&" at the end.

#126 fixed encodeForm function submits all checkbox elements' values, even if some are not checked anonymous knave
Description
<input type="check" name="test" value="1" />
<input type="check" name="test" value="2" />
<input type="check" name="test" value="3" />

It will submit as "test=1,2,3" even if only one or none is not checked.

*Tested with nightly release (27/9)

Note: See TracQuery for help on using queries.