Skip to content

Commit 6b4b8f2

Browse files
authored
Merge pull request #538 from jdreesen/patch-1
Fix authorization header name
2 parents 42f4783 + 6e9e6ba commit 6b4b8f2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

resources/config/varnish-3/fos_user_context.vcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ sub fos_user_context_recv {
8282
sub fos_user_context_hash {
8383
if (req.http.accept == "application/vnd.fos.user-context-hash") {
8484
hash_data(req.http.Cookie);
85-
hash_data(req.http.Autorization);
85+
hash_data(req.http.Authorization);
8686
}
8787
}
8888

resources/config/varnish/fos_user_context.vcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ sub fos_user_context_recv {
8282
sub fos_user_context_hash {
8383
if (req.http.accept == "application/vnd.fos.user-context-hash") {
8484
hash_data(req.http.Cookie);
85-
hash_data(req.http.Autorization);
85+
hash_data(req.http.Authorization);
8686
}
8787
}
8888

0 commit comments

Comments
 (0)