Bug Tracker

Modify

Ticket #884 (closed bug: fixed)

Opened 6 years ago

Last modified 6 years ago

ajax function in IE sends variables using GET and POST at same time

Reported by: graeme@… Owned by:
Priority: major Milestone:
Component: ajax Version:
Keywords: Cc:
Blocking: Blocked by:

Description

Using Wireshark on a IE query, it appears that jquery sends a POST request like this:


POST /jq2.html?name=John&time=2pm HTTP/1.1 Accept: */* Accept-Language: en-us x-requested-with: XMLHttpRequest Content-Type: application/x-www-form-urlencoded Accept-Encoding: gzip, deflate User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; MCI Windows Corporate Image; .NET CLR 1.1.4322; InfoPath.1) Host: xxx:8000 Content-Length: 18 Connection: Keep-Alive Cache-Control: no-cache

name=John&time=2p


Fix: Add s.data = null in ajax.js below line 604

Change History

comment:1 Changed 6 years ago by joern

  • Status changed from new to closed
  • Resolution set to fixed

Fixed in revision 1238

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.