#9682 closed bug (fixed)
Ajax retry fetches the wrong URL
Reported by: | Niyaz | 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/
Change History (4)
comment:1 Changed 12 years ago by
Component: | unfiled → ajax |
---|---|
Priority: | undecided → low |
Status: | new → open |
comment:2 Changed 12 years ago by
Owner: | set to jaubourg |
---|---|
Status: | open → assigned |
comment:3 Changed 12 years ago by
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
comment:4 Changed 12 years ago by
Stupid question: Won't this fix break this.data calls in the retry flow?
Note: See
TracTickets for help on using
tickets.
Reproduced with jQuery Git: http://jsfiddle.net/Fqahn/6/