You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Header headers.Access-Control-Allow-Origin should be defined on all responses.
This is because in components.headers i set "Access-Control-Allow-Origin-BREAKING" as ref. It somehow, falsely, validates the ref id's in this section and the owasp rule assumes that it's an actual header name. If i change the ref id to Access-Control-Allow-Origin it works again (= the workaround), but this is not what i expect it to behave like.
Context
This file openapi_v1.json throws:
This is because in
components.headers
i set "Access-Control-Allow-Origin-BREAKING" as ref. It somehow, falsely, validates the ref id's in this section and the owasp rule assumes that it's an actual header name. If i change the ref id toAccess-Control-Allow-Origin
it works again (= the workaround), but this is not what i expect it to behave like.Environment
1.1.4
)The text was updated successfully, but these errors were encountered: