Skip to content

b12963

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 03 Dec 16:32
debcc4d

ui: answer a list of CORS origins with the origin that asked (#33602)

  • server: answer a list of CORS origins with the one that asked

With more than one origin in --cors-origins, Access-Control-Allow-Origin carried the whole
comma-separated list, which browsers reject. The request's own origin is now sent back
when it is in the list, with Vary: Origin, and none otherwise.

Assisted-by: Claude (Opus 5.5 Medium)

  • server: keep "*" in --cors-origins working without credentials

The wildcard fell through to the origin list, so with --no-cors-credentials it matched
no origin and Access-Control-Allow-Origin was dropped. "" is now handled before the list.
test_cors_options covers a two-origin list and "
" without credentials.

Assisted-by: Claude (Opus 5.5 Medium)

Website:

Attestations:

macOS/iOS:

Linux:

Android:

Windows:

openEuler:

  • DISABLED
  • openEuler x86 (310p)
  • openEuler x86 (910b, ACL Graph)
  • openEuler aarch64 (310p)
  • openEuler aarch64 (910b, ACL Graph)

UI: