Bug Tracker

Modify

Ticket #952 (closed bug: fixed)

Opened 7 years ago

Last modified 7 years ago

$.get() should explicitly use GET method

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

Description

The $.get() function relies on the default form submission method, which is usually GET. But if $.ajaxSetup() changes this default, $.get() could actually do a POST. This is presumably not what the user wants if they specify $.get() rather than a general $.ajax() call, so $.get() should be changed to always perform a GET request.

Change History

comment:1 Changed 7 years ago by john

  • Priority changed from major to minor
  • Type changed from feature to bug

comment:2 Changed 7 years ago by joern

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

Fixed in revision [1540].

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.