This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 17317 - Consider mode being "No CORS" and URL is same-origin. The fetch results in a redirect whose URL is also same-origin. The spec says to apply the CORS "redirect steps". Shouldn't it do the redirect without CORS when it's same-origin?
Summary: Consider mode being "No CORS" and URL is same-origin. The fetch results in a ...
Status: RESOLVED FIXED
Alias: None
Product: WHATWG
Classification: Unclassified
Component: HTML (show other bugs)
Version: unspecified
Hardware: Other other
: P3 normal
Target Milestone: Unsorted
Assignee: Ian 'Hixie' Hickson
QA Contact: contributor
URL: http://www.whatwg.org/specs/web-apps/...
Whiteboard:
Keywords:
: 17478 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-06-05 06:15 UTC by contributor
Modified: 2012-08-29 19:40 UTC (History)
5 users (show)

See Also:


Attachments

Description contributor 2012-06-05 06:15:44 UTC
Specification: http://www.whatwg.org/specs/web-apps/current-work/multipage/fetching-resources.html
Multipage: http://www.whatwg.org/C#cors-enabled-fetch
Complete: http://www.whatwg.org/c#cors-enabled-fetch

Comment:
Consider mode being "No CORS" and URL is same-origin. The fetch results in a
redirect whose URL is also same-origin. The spec says to apply the CORS
"redirect steps". Shouldn't it do the redirect without CORS when it's
same-origin?

Posted from: 85.227.152.202 by simonp@opera.com
User agent: Opera/9.80 (Macintosh; Intel Mac OS X 10.7.3; U; en) Presto/2.10.229 Version/11.64
Comment 1 Simon Pieters 2012-06-05 06:17:05 UTC
(or mode being anything actually, since same-origin takes the first branch anyway)
Comment 2 Simon Pieters 2012-07-03 12:26:00 UTC
*** Bug 17478 has been marked as a duplicate of this bug. ***
Comment 3 Simon Pieters 2012-07-03 12:27:07 UTC
Even without the redirect, the spec seems to say to perform the resource sharing check for same-origin No CORS fetch, which is clearly wrong.
Comment 4 contributor 2012-07-18 17:56:03 UTC
This bug was cloned to create bug 18277 as part of operation convergence.