Skip to content

Process asterisks and commas in origin for really usable cors origin handling #47

@huksley

Description

@huksley

Using simple glob patterns

  • If origin = * do nothing
  • If origin matches https://*.domain.com evaluate and resolve origin on every request using Referer header
  • If origin contains command, treat it as list of URIs, evaluate every item in list
  • If no origin match, deny request with 400 Bad Request

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions