quarkus.http.cors.exposed-headers not working in POST #34131
Labels
area/security
env/windows
Impacts Windows machines
kind/bug
Something isn't working
triage/duplicate
This issue or pull request already exists
Describe the bug
I set quarkus.http.cors.exposed-headers but since Quarkus 3.x they only provided in OPTIONS request, not in GET, POST, PUT request. I need this in Angular Frontend to access custom headers.
Expected behavior
I want to get access-control-expose-headers at GET, POST, PUT Request, like in Quarkus 2.16
Actual behavior
GET

OPTIONS

(i also need to add Access-Control-Request-Headers Request Header to get access-control-expose-headers Response Header
How to Reproduce?
Output of
uname -a
orver
Microsoft Windows [Version 10.0.19045.3086]
Output of
java -version
openjdk version "17.0.7" 2023-04-18 OpenJDK Runtime Environment Temurin-17.0.7+7 (build 17.0.7+7) OpenJDK 64-Bit Server VM Temurin-17.0.7+7 (build 17.0.7+7, mixed mode, sharing)
GraalVM version (if different from Java)
No response
Quarkus version or git rev
3.1.2
Build tool (ie. output of
mvnw --version
orgradlew --version
)Apache Maven 3.8.8
Additional information
No response
The text was updated successfully, but these errors were encountered: