New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parameters misplaced at POST-request #65

Closed
Cm0k opened this Issue Oct 7, 2011 · 0 comments

Comments

Projects
None yet
2 participants
@Cm0k

Cm0k commented Oct 7, 2011

Code:
pData = [
['rs', 'ajax_odb2_search_records'],
['rst', ''],
['rsrnd', rsrnd],
['rsargs[]', '1' ],
['rsargs[]', '2' ],
['rsargs[]', '3' ],
['rsargs[]', '4' ],
['rsargs[]', '5' ],
['rsargs[]', '6' ],
['rsargs[]', '7' ]
]
@clnt.post( host, pData)

From HTTP-sniffer:
rs=ajax_odb2_search_records&rsargs%5B%5D=3&rsargs%5B%5D=7&rsargs%5B%5D=1&rsargs%5B%5D=2&rsargs%5B%5D=6&rsargs%5B%5D=5&rsargs%5B%5D=4&rsrnd=13180045610&rst=

so order from ["1", "2", "3", "4", "5", "6", "7"] becomes ["3","7","1","2","6","5","4"] and this cases problem for server-side interpreter.
How can I send params with exact same order as i want?

@nahi nahi closed this in 4049bd6 Oct 12, 2011

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment