# Summary
Cross-origin resource sharing (CORS) is a mechanism that allows a web page to make XMLHttpRequests to another domain. Such "cross-domain" requests would otherwise be forbidden by web browsers, per the same origin security policy.
This module provides a configuration page to map domains to paths and add the necessary Access-Control-Allow-Origin header.
CORS is aimed to be a solution until this: https://www.drupal.org/node/1869548 will land in core.
# Project URL
https://www.drupal.org/project/cors
# Where is the code?
https://github.com/previousnext/drupal_cors/tree/8.x-1.x
# Estimated completion date
We're aiming to have the first usable alpha release done by December/January.
# Dependencies
This module doesn't have any dependencies.
# Who's doing the port?
The initial work has been done by kim.pepper and andypost. Now jeqq is working on an alpha release.
# What help do they need?
Accepting pull requests on GitHub https://github.com/previousnext/drupal_cors
# D8 roadmap
See background and reference info below.
# Background and reference information
At the moment exist different implementations for cross-origin resource sharing mechanism beside this repository. Like https://www.drupal.org/sandbox/chr.fritsch/2460591 and https://github.com/piyuesh23/cors.
Also we have the core issue: https://www.drupal.org/node/1869548
Other issues: https://www.drupal.org/node/2328985
Comments
Comment #2
jeqq commentedI will file PRs to this repository: https://github.com/previousnext/drupal_cors, to get it working with latest D8 - 8.0.x.
Comment #3
jeqq commentedComment #4
kim.pepperI have merged your changes.
I'm more than happy if the maintainer wants to move code back to d.o.
Comment #5
mikl8.x-1.0 released, thanks to justafish.
Comment #7
dpi