Bug Tracker

Modify

Ticket #4384 (closed bug: duplicate)

Opened 4 years ago

Last modified 4 years ago

jQuery.get doesn't shift all arguments

Reported by: rogpeppe Owned by:
Priority: minor Milestone: 1.4
Component: ajax Version: 1.3.2
Keywords: Cc: rogpeppe@…
Blocking: Blocked by:

Description

by inspection in the source code, if the data argument is omitted, then the type parameter will be overwritten. (also "ommited" is not spelled that way!)

Attachments

get_post_shift_args.patch Download (1.4 KB) - added by JDay 4 years ago.

Change History

comment:1 Changed 4 years ago by JDay

jQuery.post is also affected. Attached a patch which fixes both functions (but not the typo), with a testcase.

Changed 4 years ago by JDay

comment:2 Changed 4 years ago by dmethvin

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

Duplicate of #3775.

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.