Repository navigation
v0.4.12
修正
corsミドルウェアでallow_origins: ["*"]・allow_credentials: falseのとき、資格情報(CookieかAuthorization)付きのリクエストにはAccess-Control-Allow-OriginにOriginの値を返すようにしました(#293)。これまでは*を返していました。Gateway API v1.5 の conformance が期待する形です(v1.6 はどちらでもよい)。Access-Control-Allow-Credentialsは付けないので、ブラウザがその応答を使わないのは前と同じです。プリフライトと、headersのcorsは変わりません。
UI: TCP-UDP-rproxy-ui v0.4.5 · Kubernetes: rproxy-gateway v0.4.12
Fixed
- With the
corsmiddleware'sallow_origins: ["*"]andallow_credentials: false, a request with credentials (CookieorAuthorization) now gets itsOriginback inAccess-Control-Allow-Origin(#293), instead of*. This is what Gateway API v1.5's conformance expects (v1.6 takes either).Access-Control-Allow-Credentialsis not added, so browsers still do not use that response, as before. Preflights and thecorsofheadersare unchanged.
UI: TCP-UDP-rproxy-ui v0.4.5 · Kubernetes: rproxy-gateway v0.4.12