Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set allowed headers via API instead of defaulting to wildcard. #3023

Merged
merged 28 commits into from
Aug 7, 2017

Commits on Jul 15, 2017

  1. This comment didn't make a lot of sense.

    Aaron Salvo committed Jul 15, 2017
    Configuration menu
    Copy the full SHA
    728ba85 View commit details
    Browse the repository at this point in the history
  2. Added new field AllowedHeaders. Enable func now accepts a slice of he…

    …aders.
    Aaron Salvo committed Jul 15, 2017
    Configuration menu
    Copy the full SHA
    6c44bcb View commit details
    Browse the repository at this point in the history

Commits on Jul 16, 2017

  1. Cleaned up comment.

    Aaron Salvo committed Jul 16, 2017
    Configuration menu
    Copy the full SHA
    bd4d006 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1ee92b3 View commit details
    Browse the repository at this point in the history
  3. Added the headers param.

    Aaron Salvo committed Jul 16, 2017
    Configuration menu
    Copy the full SHA
    c4ca1e6 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    31770b6 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    8aad9e3 View commit details
    Browse the repository at this point in the history
  6. Made origin param no longer required to enable CORS. Defaults to wild…

    …card.
    Aaron Salvo committed Jul 16, 2017
    Configuration menu
    Copy the full SHA
    aeae188 View commit details
    Browse the repository at this point in the history
  7. Allowed headers defaults to stdAllowedHeaders.

    Aaron Salvo committed Jul 16, 2017
    Configuration menu
    Copy the full SHA
    89ef267 View commit details
    Browse the repository at this point in the history
  8. Clearing AllowedHeaders when CORS is disabled.

    Aaron Salvo committed Jul 16, 2017
    Configuration menu
    Copy the full SHA
    ce6d754 View commit details
    Browse the repository at this point in the history
  9. Added headers to call to Enable.

    Aaron Salvo committed Jul 16, 2017
    Configuration menu
    Copy the full SHA
    c1d629b View commit details
    Browse the repository at this point in the history
  10. Updated comment.

    Aaron Salvo committed Jul 16, 2017
    Configuration menu
    Copy the full SHA
    558e955 View commit details
    Browse the repository at this point in the history
  11. Added list of allowed headers to response.

    Aaron Salvo committed Jul 16, 2017
    Configuration menu
    Copy the full SHA
    ea6deba View commit details
    Browse the repository at this point in the history
  12. Added allowed_headers field.

    Aaron Salvo committed Jul 16, 2017
    Configuration menu
    Copy the full SHA
    5d289ed View commit details
    Browse the repository at this point in the history
  13. Initial commit of test.

    Aaron Salvo committed Jul 16, 2017
    Configuration menu
    Copy the full SHA
    e8a68e8 View commit details
    Browse the repository at this point in the history
  14. Persisting the allowed headers.

    Aaron Salvo committed Jul 16, 2017
    Configuration menu
    Copy the full SHA
    704e7a3 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    158f690 View commit details
    Browse the repository at this point in the history
  16. allowed_origins is returned as an array.

    Aaron Salvo committed Jul 16, 2017
    Configuration menu
    Copy the full SHA
    5cd956d View commit details
    Browse the repository at this point in the history
  17. Added docs for allowed_headers.

    Aaron Salvo committed Jul 16, 2017
    Configuration menu
    Copy the full SHA
    dafb1f8 View commit details
    Browse the repository at this point in the history
  18. Added allowed_headers to request and expected result.

    Aaron Salvo committed Jul 16, 2017
    Configuration menu
    Copy the full SHA
    e29e68a View commit details
    Browse the repository at this point in the history

Commits on Aug 6, 2017

  1. Configuration menu
    Copy the full SHA
    7006926 View commit details
    Browse the repository at this point in the history
  2. Removing unnecessary locking/unlocking.

    Aaron Salvo committed Aug 6, 2017
    Configuration menu
    Copy the full SHA
    0f54b4d View commit details
    Browse the repository at this point in the history
  3. Fixing logic error.

    Aaron Salvo committed Aug 6, 2017
    Configuration menu
    Copy the full SHA
    0a05154 View commit details
    Browse the repository at this point in the history
  4. Each call to Enable should replace AllowedHeaders, not append to the …

    …existing value.
    Aaron Salvo committed Aug 6, 2017
    Configuration menu
    Copy the full SHA
    88c20e1 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    094e2a8 View commit details
    Browse the repository at this point in the history
  6. Update test to check that allowed_origins is required.

    Aaron Salvo committed Aug 6, 2017
    Configuration menu
    Copy the full SHA
    5abce39 View commit details
    Browse the repository at this point in the history
  7. Indicating that allowed_origins is required.

    Aaron Salvo committed Aug 6, 2017
    Configuration menu
    Copy the full SHA
    6aa4591 View commit details
    Browse the repository at this point in the history

Commits on Aug 7, 2017

  1. Minor adjustments

    jefferai committed Aug 7, 2017
    Configuration menu
    Copy the full SHA
    a0b2fe5 View commit details
    Browse the repository at this point in the history