// not recieving CORS headers from Google APIs

Site Outreach Issue #9161008

Details

Author
Ben M.
Created
Oct 2, 2016
Privacy
This issue is public.
Found in
  • Microsoft Edge
Found in build #
14.14936
Reports
Reported by 1 person

Sign in to watch or report this issue.

Steps to reproduce

This appears to be a external problem but posting so you are aware.

The YouTube API fails to return Access- headers when the request origin is a Microsoft Edge extension (ms-browser-extension://).

Steps to reproduce issue:

  1. Run the following to simulate a request for Chrome extensions (can be run in Bash for Windows):

curl -isS
-H ‘Origin: chrome-extension://sssssssssssssssssssssssssss
-H “Access-Control-Request-Method: POST”
-H “Access-Control-Request-Headers: X-Requested-With”
https://www.googleapis.com/youtube/v3/videos?id=e_zLS2PjwCI&part=id%2CcontentDetails%2Csnippet&key=API_KEY
| grep -i '^access-'

RETURN:
Access-Control-Allow-Credentials: true
Access-Control-Allow-Origin: chrome-extension://sssssssssssssssssssssssssss
Access-Control-Expose-Headers: Content-Encoding,Content-Length,Content-Type,Date,Server,Vary,X-Google-GFE-Backend-Request-Cost

Notice it shows Access- headers on the output.

  1. Run the following to simulate a request for Edge extensions:

curl -isS
-H ‘Origin: ms-browser-extension://sssssssssssssssssssssssssss
-H “Access-Control-Request-Method: POST”
-H “Access-Control-Request-Headers: X-Requested-With”
https://www.googleapis.com/youtube/v3/videos?id=e_zLS2PjwCI&part=id%2CcontentDetails%2Csnippet&key=API_KEY
| grep -i '^access-'

RETURN:
None

Notice no Access- headers are returned.

Expected output:
Access- headers are returned.

Actual results:
No Access- headers are returned.

Attachments

0 attachments

    Comments and activity

    • Appears some of the title got stripped on posting, should read “ms-browser-extension:// not receiving CORS headers from Google APIs”

    • Microsoft Edge Team

      Changed Assigned To to “Brad E.”

      Changed Assigned To to “Sebastian P.”

      Changed Assigned To to “ecoengie”

      Changed Status to “Site Outreach”

      Changed Assigned To from “ecoengie” to “Colleen W.”

    You need to sign in to your Microsoft account to add a comment.

    Sign in