From 639126e3cff5a4116a3ea0fd830d9f27cd292f5d Mon Sep 17 00:00:00 2001 From: Jacob Dreesen Date: Wed, 2 Nov 2022 13:45:17 +0100 Subject: [PATCH 1/2] Fix authorization header name --- resources/config/varnish/fos_user_context.vcl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/config/varnish/fos_user_context.vcl b/resources/config/varnish/fos_user_context.vcl index 8b795236..7a6b0e1f 100644 --- a/resources/config/varnish/fos_user_context.vcl +++ b/resources/config/varnish/fos_user_context.vcl @@ -82,7 +82,7 @@ sub fos_user_context_recv { sub fos_user_context_hash { if (req.http.accept == "application/vnd.fos.user-context-hash") { hash_data(req.http.Cookie); - hash_data(req.http.Autorization); + hash_data(req.http.Authorization); } } From 6e9e6ba5b9e60d330af97530b4f10f5d935df250 Mon Sep 17 00:00:00 2001 From: Jacob Dreesen Date: Wed, 2 Nov 2022 13:46:30 +0100 Subject: [PATCH 2/2] Fix authorization header name --- resources/config/varnish-3/fos_user_context.vcl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/config/varnish-3/fos_user_context.vcl b/resources/config/varnish-3/fos_user_context.vcl index 3669dffd..686e9be2 100644 --- a/resources/config/varnish-3/fos_user_context.vcl +++ b/resources/config/varnish-3/fos_user_context.vcl @@ -82,7 +82,7 @@ sub fos_user_context_recv { sub fos_user_context_hash { if (req.http.accept == "application/vnd.fos.user-context-hash") { hash_data(req.http.Cookie); - hash_data(req.http.Autorization); + hash_data(req.http.Authorization); } }