File tree Expand file tree Collapse file tree 3 files changed +6
-4
lines changed
tests/Functional/Fixtures Expand file tree Collapse file tree 3 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ Caching on user context works as follows:
27272. The :term: `caching proxy ` receives the request. It sends a request
2828 (the *hash request *) with a special accept header
2929 (``application/vnd.fos.user-context-hash ``) to a specific URL,
30- e.g., ``/user_context_hash.php ``.
30+ e.g., ``/_fos_user_context_hash ``.
31313. The :term: `application ` receives the hash request. The application knows the
3232 client’s user context (roles, permissions, etc.) and generates a hash based
3333 on that information. The application then returns a response containing that
@@ -96,7 +96,9 @@ Returning the User Context Hash
9696-------------------------------
9797
9898It is up to you to return the user context hash in response to the hash request
99- (``/user_context_hash.php `` in step 3 above)::
99+ (``/_fos_user_context_hash `` in step 3 above)::
100+
101+ // <web-root>/_fos_user_context_hash/index.php
100102
101103 $hash = $hashGenerator->generateHash();
102104
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ sub vcl_recv {
2424
2525 # Backup original URL
2626 set req.http.X-Fos-Original-Url = req.url ;
27- set req.url = "/user_context_hash.php " ;
27+ set req.url = "/_fos_user_context_hash " ;
2828
2929 # For functional tests
3030 call user_context_hash_url ;
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ sub vcl_recv {
2626
2727 # Backup original URL
2828 set req.http.X-Fos-Original-Url = req.url ;
29- set req.url = "/user_context_hash.php " ;
29+ set req.url = "/_fos_user_context_hash " ;
3030
3131 # For functional tests
3232 call user_context_hash_url ;
You can’t perform that action at this time.
0 commit comments