jQuery: The Write Less, Do More JavaScript Library

Ticket #1580 (closed bug: fixed)

Opened 1 year ago

Last modified 11 months ago

$.ajax puts query-part of url into data

Reported by: Greendrake Assigned to: anonymous
Type: bug Priority: major
Milestone: 1.2.1 Component: ajax
Version: 1.2 Keywords: url post data
Cc: Needs: Review

Description

I noticed that when I send a post ajax request with url like /foo?bar=1 it actually sends /foo and puts bar=1 into post data string. I have no idea whether it is deliberate but I think it may be quite annoying and inappropriate. Indeed - you send a GET parameters and expect them to be themselves at the server side, but they unexpectedly become in POST.

Attachments

Change History

Changed 11 months ago by john

  • status changed from new to closed
  • resolution set to fixed

Fixed in SVN rev [3295].

Note: See TracTickets for help on using tickets.