jquery.redirect
jquery.redirect copied to clipboard
blank fields are removed
Any fields that have a blank string as a value are removed. This does not match $.ajax()
For example $.ajax() would send: foo[bar]: beep foo[test]: foo[bla]: boop
but $.redirect() sends: foo[bar]: beep foo[bla]: boop
Yes... this part of the code is the responsable of that:
} else if (values[propName].length < 1) {
delete values[propName];
}
I think we could remove it. Now im a little bit bussy. If you are hurried, just remove that lines, if not, i will publish a new version soon.
fixed in jquery redirect 1.2.0 (check the new flag)