Side navigation
#9682 closed bug (fixed)
Opened June 28, 2011 10:35AM UTC
Closed July 01, 2011 12:19AM UTC
Last modified March 14, 2012 02:53AM UTC
Ajax retry fetches the wrong URL
Reported by: | niyazpk | Owned by: | jaubourg |
---|---|---|---|
Priority: | low | Milestone: | 1.next |
Component: | ajax | Version: | 1.6.1 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
When I do a retry of an ajax request using $.ajax(this)
the new URL includes the items in the data parameter and so the URL is different for the retry.
Test case printing the URLs in each retry: http://jsfiddle.net/niyazpk/Fqahn/5/
Attachments (0)
Change History (4)
Changed June 29, 2011 09:55AM UTC by comment:1
component: | unfiled → ajax |
---|---|
priority: | undecided → low |
status: | new → open |
Changed June 30, 2011 03:55PM UTC by comment:2
owner: | → jaubourg |
---|---|
status: | open → assigned |
Changed July 01, 2011 12:19AM UTC by comment:3
resolution: | → fixed |
---|---|
status: | assigned → closed |
Fixes #9682. Removes data from the options for request with no content so that it is not used again in case of a retry. Unit test added.
Changeset: e83fcdcb02d676d91d764a58f7e8d2eb1c95de69
Changed July 01, 2011 02:30AM UTC by comment:4
Stupid question: Won't this fix break ''this.data'' calls in the retry flow?
Reproduced with jQuery Git: http://jsfiddle.net/Fqahn/6/