Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jQuery.ajax: Fix #1022 #1105

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

jQuery.ajax: Fix #1022 #1105

wants to merge 1 commit into from

Conversation

zyphlar
Copy link

@zyphlar zyphlar commented Sep 1, 2018

Trying to fix #1022

Trying to fix jquery#1022
@jsf-clabot
Copy link

jsf-clabot commented Sep 1, 2018

CLA assistant check
All committers have signed the CLA.

@@ -160,7 +160,7 @@ $.ajax({
}
});
</code></pre>
<p>If the request is successful, the status code functions take the same parameters as the success callback; if it results in an error (including 3xx redirect), they take the same parameters as the <code>error</code> callback.</p>
<p>If the request is successful, the status code functions take the same parameters as the success callback; if it results in an error (including 3xx redirects to another domain), they take the same parameters as the <code>error</code> callback. (3xx redirects to the same domain are generally handled transparently.)</p>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you be more explicit about what "generally" means here?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"generally handled transparently" is vague, I agree. Perhaps "3xx redirects to the same domain are handled by the browser and not contrlled by jQuery."

@mgol
Copy link
Member

mgol commented Oct 4, 2019

@zyphlar Do you plan to finish the PR?

Base automatically changed from master to main February 1, 2021 22:04
@Krinkle Krinkle changed the title Fix #1022 jQuery.ajax: Fix #1022 Apr 26, 2022
Copy link
Member

@mgol mgol left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Marking Request changes to make it explicit this is not ready

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

[AJAX] add note about redirect failure due to differing origins
5 participants