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

[Rest Api Compatibility] Only vendor media types should allow for compatible api #72969

Open
pgomulka opened this issue May 12, 2021 · 2 comments
Labels
>bug :Core/Infra/REST API REST infrastructure and utilities Team:Core/Infra Meta label for core/infra team

Comments

@pgomulka
Copy link
Contributor

at some point, the validation logic for vendor specific media types was broken and non vnd media types allow for using compatible api

Content-Type: application/json;compatible-with=7
Accept: application/json;compatible-with=7

only vnd media types should allow for it

Content-Type: application/vnd.elasticsearch+json;compatible-with=7
Accept: application/vnd.elasticsearch+json;compatible-with=7
@pgomulka pgomulka added >bug :Core/Infra/REST API REST infrastructure and utilities labels May 12, 2021
@elasticmachine elasticmachine added the Team:Core/Infra Meta label for core/infra team label May 12, 2021
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-core-infra (Team:Core/Infra)

@pgomulka
Copy link
Contributor Author

relates #63080

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>bug :Core/Infra/REST API REST infrastructure and utilities Team:Core/Infra Meta label for core/infra team
Projects
None yet
Development

No branches or pull requests

2 participants