Opened 15 years ago
Closed 15 years ago
#1580 closed bug (fixed)
$.ajax puts query-part of url into data
Reported by: | Greendrake | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | 1.2.1 |
Component: | ajax | Version: | 1.2 |
Keywords: | url post data | Cc: | |
Blocked by: | Blocking: |
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.
Note: See
TracTickets for help on using
tickets.
Fixed in SVN rev [3295].