Skip to content

Conversation

hsanjuan
Copy link
Collaborator

Maintenance.

Depends on #640 . Last commit only (trivial review).

License: MIT
Signed-off-by: Hector Sanjuan <code@hector.link>
License: MIT
Signed-off-by: Hector Sanjuan <code@hector.link>
This adds support for handling preflight requests in the REST API
and fixes currently mostly broken CORS.

Before we just let the user add custom response headers to the
configuration "headers" key but this is not the best way because
CORs headers and requests need special handling and doing it wrong
has security implications.

Therefore, I have added specific CORS-related configuration options
which control CORS behavour. We are forced to change the "headers"
defaults and will notify the users about this in the changelog.

License: MIT
Signed-off-by: Hector Sanjuan <code@hector.link>
License: MIT
Signed-off-by: Hector Sanjuan <code@hector.link>
License: MIT
Signed-off-by: Hector Sanjuan <code@hector.link>
License: MIT
Signed-off-by: Hector Sanjuan <code@hector.link>
Maintenance

License: MIT
Signed-off-by: Hector Sanjuan <code@hector.link>
@hsanjuan hsanjuan added the status/blocked Unable to be worked further until needs are met label Jan 11, 2019
@hsanjuan hsanjuan self-assigned this Jan 11, 2019
@ghost ghost added the status/in-progress In progress label Jan 11, 2019
@coveralls
Copy link

Coverage Status

Coverage increased (+0.1%) to 65.677% when pulling afc4591 on tests/update-sharness-configs into d80f3ee on master.

@hsanjuan hsanjuan mentioned this pull request Jan 11, 2019
Copy link
Contributor

@kishansagathiya kishansagathiya left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. All checks are passed. Travis build that shows pending has also passed, I guess it's a bug on travis.
Will approve this after dependency PR #640 is merged

@hsanjuan
Copy link
Collaborator Author

@kishansagathiya you need to click approve to make things green. But I'll merge anyway.

@hsanjuan hsanjuan merged commit 935d984 into master Jan 14, 2019
@hsanjuan hsanjuan deleted the tests/update-sharness-configs branch January 14, 2019 11:08
@ghost ghost removed the status/in-progress In progress label Jan 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status/blocked Unable to be worked further until needs are met
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants