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:
27
27
2. The :term: `caching proxy ` receives the request. It sends a request
28
28
(the *hash request *) with a special accept header
29
29
(``application/vnd.fos.user-context-hash ``) to a specific URL,
30
- e.g., ``/user_context_hash.php ``.
30
+ e.g., ``/_fos_user_context_hash ``.
31
31
3. The :term: `application ` receives the hash request. The application knows the
32
32
client’s user context (roles, permissions, etc.) and generates a hash based
33
33
on that information. The application then returns a response containing that
@@ -96,7 +96,9 @@ Returning the User Context Hash
96
96
-------------------------------
97
97
98
98
It 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
100
102
101
103
$hash = $hashGenerator->generateHash();
102
104
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ sub vcl_recv {
24
24
25
25
# Backup original URL
26
26
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 " ;
28
28
29
29
# For functional tests
30
30
call user_context_hash_url;
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ sub vcl_recv {
26
26
27
27
# Backup original URL
28
28
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 " ;
30
30
31
31
# For functional tests
32
32
call user_context_hash_url;
You can’t perform that action at this time.
0 commit comments