[Bug 26238] New: Add follow redirects back into WHATWG XHR specification

https://www.w3.org/Bugs/Public/show_bug.cgi?id=26238

            Bug ID: 26238
           Summary: Add follow redirects back into WHATWG XHR
                    specification
           Product: WebAppsWG
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: minor
          Priority: P2
         Component: XHR
          Assignee: annevk@annevk.nl
          Reporter: jonathan@jooped.co.uk
        QA Contact: public-webapps-bugzilla@w3.org
                CC: mike@w3.org, public-webapps@w3.org

Add follow redirects back into WHATWG XHR specification:
http://xhr.spec.whatwg.org/

As mentioned on this post:
http://discourse.specifiction.org/t/followredirects-in-xmlhttprequest/420/11?u=jonathank

The intent is to put back in the followRedirects feature which was a security
improvement from the client side to prevent calls following to unexpected URL
changes.

The expected result when the AJAX request returns a redirect code and
followRedirects is disabled then it should return a network error.

This should follow the same definition as the original specification:
http://www.w3.org/TR/2010/WD-XMLHttpRequest2-20100907/#the-followredirects-attribute

However it shouldn't return a response if there is a redirect just a network
error to the callbacks.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Received on Monday, 30 June 2014 11:39:20 UTC