diff --git a/build/docker/api/application.conf b/build/docker/api/application.conf index 43b6ee57e..ae17e08fc 100644 --- a/build/docker/api/application.conf +++ b/build/docker/api/application.conf @@ -327,8 +327,8 @@ akka.http { } parsing { - # Spray doesn't like the AWS4 headers - illegal-header-warnings = on + # Don't complain about the / in the AWS SigV4 auth header + ignore-illegal-header-for = ["authorization"] } } diff --git a/modules/api/src/it/resources/application.conf b/modules/api/src/it/resources/application.conf index 93455f620..3447542ac 100644 --- a/modules/api/src/it/resources/application.conf +++ b/modules/api/src/it/resources/application.conf @@ -329,8 +329,8 @@ akka.http { } parsing { - # Spray doesn't like the AWS4 headers - illegal-header-warnings = on + # Don't complain about the / in the AWS SigV4 auth header + ignore-illegal-header-for = ["authorization"] } } diff --git a/modules/api/src/main/resources/application.conf b/modules/api/src/main/resources/application.conf index 43b6ee57e..ae17e08fc 100644 --- a/modules/api/src/main/resources/application.conf +++ b/modules/api/src/main/resources/application.conf @@ -327,8 +327,8 @@ akka.http { } parsing { - # Spray doesn't like the AWS4 headers - illegal-header-warnings = on + # Don't complain about the / in the AWS SigV4 auth header + ignore-illegal-header-for = ["authorization"] } } diff --git a/modules/api/src/test/resources/application.conf b/modules/api/src/test/resources/application.conf index 2e5a0d2d5..9fac4d6f9 100644 --- a/modules/api/src/test/resources/application.conf +++ b/modules/api/src/test/resources/application.conf @@ -336,8 +336,8 @@ akka.http { } parsing { - # Spray doesn't like the AWS4 headers - illegal-header-warnings = on + # Don't complain about the / in the AWS SigV4 auth header + ignore-illegal-header-for = ["authorization"] } } diff --git a/modules/api/src/universal/conf/application.conf b/modules/api/src/universal/conf/application.conf index 43b6ee57e..ae17e08fc 100644 --- a/modules/api/src/universal/conf/application.conf +++ b/modules/api/src/universal/conf/application.conf @@ -327,8 +327,8 @@ akka.http { } parsing { - # Spray doesn't like the AWS4 headers - illegal-header-warnings = on + # Don't complain about the / in the AWS SigV4 auth header + ignore-illegal-header-for = ["authorization"] } } diff --git a/modules/docs/src/main/mdoc/operator/config-api.md b/modules/docs/src/main/mdoc/operator/config-api.md index dd626c5bd..2cb812756 100644 --- a/modules/docs/src/main/mdoc/operator/config-api.md +++ b/modules/docs/src/main/mdoc/operator/config-api.md @@ -792,8 +792,8 @@ v6-discovery-nibble-boundaries { } parsing { - # akka-http doesn't like the AWS4 headers - illegal-header-warnings = on + # Don't complain about the / in the AWS SigV4 auth header + ignore-illegal-header-for = ["authorization"] } } } diff --git a/test/api/functional/application.conf b/test/api/functional/application.conf index 86c9e70b3..c97482212 100644 --- a/test/api/functional/application.conf +++ b/test/api/functional/application.conf @@ -297,7 +297,7 @@ akka.http { } parsing { - # Spray doesn't like the AWS4 headers - illegal-header-warnings = on + # Don't complain about the / in the AWS SigV4 auth header + ignore-illegal-header-for = ["authorization"] } } diff --git a/test/api/integration/application.conf b/test/api/integration/application.conf index 5e152aa03..a8bcfa0d8 100644 --- a/test/api/integration/application.conf +++ b/test/api/integration/application.conf @@ -352,7 +352,7 @@ akka.http { } parsing { - # Spray doesn't like the AWS4 headers - illegal-header-warnings = on + # Don't complain about the / in the AWS SigV4 auth header + ignore-illegal-header-for = ["authorization"] } }