Bug Tracker

Ticket #952 (closed bug: fixed)

Opened 9 years ago

Last modified 8 years ago

$.get() should explicitly use GET method

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


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 9 years ago by john

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

comment:2 Changed 9 years ago by joern

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

Fixed in revision [1540].

Note: See TracTickets for help on using tickets.