stack-cors

Cross-origin resource sharing library and stack middleware.

MIT License

Downloads
151.1M
Stars
1.3K
Committers
20

Bot releases are hidden (Show)

stack-cors - Support Symfony 7 Latest Release

Published by barryvdh 11 months ago

stack-cors -

Published by barryvdh almost 3 years ago

Re-support Symfony 4 & 5 and PHP 7.2+ (https://github.com/asm89/stack-cors/pull/99)

stack-cors - Actually (and only) support Symfony 6

Published by barryvdh almost 3 years ago

stack-cors - Fix BC break in options

Published by barryvdh almost 3 years ago

stack-cors - Support Symfony 6

Published by barryvdh almost 3 years ago

stack-cors -

Published by barryvdh over 3 years ago

  • Bug with Access-Control-Allow-Origin header is null then allowedOrigins is ['*'], supportsCredentials is true and Origin header doesn't set (#85)
  • Do not check isSameHost to relax CORS detection #84
stack-cors - Add PHP8 support

Published by barryvdh almost 4 years ago

stack-cors - Tweak wildcard header/method behavior

Published by barryvdh over 4 years ago

Revert to 1.x behaviour to reflect the allowed headers/methods instead of wildcards.

stack-cors - v2.0.0

Published by barryvdh over 4 years ago

Added

  • CORS headers are better cachable now, with correct Vary headers (#70, #74)

Changed

  • CORS headers are added to non-Origin requests when possible (#73)
  • Requests are no longer blocked by the server, only by the browser (#70)
stack-cors -

Published by barryvdh over 4 years ago

Added typehints
Only send rest of the CORS headers when Origin passes

stack-cors -

Published by barryvdh over 4 years ago

stack-cors -

Published by barryvdh over 4 years ago

stack-cors - 1.3.0

Published by barryvdh almost 5 years ago

  • CORB support
  • Symfony 5 support
stack-cors -

Published by barryvdh almost 7 years ago

stack-cors - 1.1.0

Published by asm89 over 7 years ago

New release containing several improvements/bug fixes: