<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>18277</bug_id>
          
          <creation_ts>2012-07-18 17:56:00 +0000</creation_ts>
          <short_desc>Consider mode being &quot;No CORS&quot; and URL is same-origin. The fetch results in a redirect whose URL is also same-origin. The spec says to apply the CORS &quot;redirect steps&quot;. Shouldn&apos;t it do the redirect without CORS when it&apos;s same-origin?</short_desc>
          <delta_ts>2013-08-09 05:15:39 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>HTML WG</product>
          <component>HTML5 spec</component>
          <version>unspecified</version>
          <rep_platform>Other</rep_platform>
          <op_sys>other</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc>http://www.whatwg.org/specs/web-apps/current-work/#cors-enabled-fetch</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>CR</keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>contributor</reporter>
          <assigned_to name="Silvia Pfeiffer">silviapfeiffer1</assigned_to>
          <cc>fs</cc>
    
    <cc>mike</cc>
    
    <cc>odinho</cc>
    
    <cc>public-html-admin</cc>
    
    <cc>public-html-wg-issue-tracking</cc>
    
    <cc>robin</cc>
    
    <cc>zcorpan</cc>
          
          <qa_contact name="HTML WG Bugzilla archive list">public-html-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>71020</commentid>
    <comment_count>0</comment_count>
    <who name="">contributor</who>
    <bug_when>2012-07-18 17:56:00 +0000</bug_when>
    <thetext>This was was cloned from bug 17317 as part of operation convergence.
Originally filed: 2012-06-05 06:15:00 +0000

================================================================================
 #0   contributor@whatwg.org                          2012-06-05 06:15:44 +0000 
--------------------------------------------------------------------------------
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 &quot;No CORS&quot; and URL is same-origin. The fetch results in a
redirect whose URL is also same-origin. The spec says to apply the CORS
&quot;redirect steps&quot;. Shouldn&apos;t it do the redirect without CORS when it&apos;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
================================================================================
 #1   Simon Pieters                                   2012-06-05 06:17:05 +0000 
--------------------------------------------------------------------------------
(or mode being anything actually, since same-origin takes the first branch anyway)
================================================================================
 #2   Simon Pieters                                   2012-07-03 12:26:00 +0000 
--------------------------------------------------------------------------------
*** Bug 17478 has been marked as a duplicate of this bug. ***
================================================================================
 #3   Simon Pieters                                   2012-07-03 12:27:07 +0000 
--------------------------------------------------------------------------------
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.
================================================================================</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>90707</commentid>
    <comment_count>1</comment_count>
    <who name="Silvia Pfeiffer">silviapfeiffer1</who>
    <bug_when>2013-07-13 09:13:39 +0000</bug_when>
    <thetext>Simon, the WHATWG bug for this is closed, but I don&apos;t seem to see that your concern was addressed. Do you still want the spec to clarify the CORS-enabled fetch algorithm?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>91725</commentid>
    <comment_count>2</comment_count>
    <who name="Simon Pieters">zcorpan</who>
    <bug_when>2013-08-07 12:51:39 +0000</bug_when>
    <thetext>I think it was fixed in http://html5.org/tools/web-apps-tracker?from=7296&amp;to=7297</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>91821</commentid>
    <comment_count>3</comment_count>
    <who name="Silvia Pfeiffer">silviapfeiffer1</who>
    <bug_when>2013-08-09 05:15:39 +0000</bug_when>
    <thetext>Thanks!

EDITOR&apos;S RESPONSE: This is an Editor&apos;s Response to your comment. If you are
satisfied with this response, please change the state of this bug to CLOSED. If
you have additional information and would like the Editor to reconsider, please
reopen this bug. If you would like to escalate the issue to the full HTML
Working Group, please add the TrackerRequest keyword to this bug, and suggest
title and text for the Tracker Issue; or you may create a Tracker Issue
yourself, if you are able to do so. For more details, see this document:

   http://dev.w3.org/html5/decision-policy/decision-policy.html

Status: Accepted
Change Description:
https://github.com/w3c/html/commit/afc3217aad73870fe7f0e4fa492d054d67d27570

Rationale: accepted WHATWG bug fix</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>