From 97b942faf685b6233fbea1621ceea48d4296e12b Mon Sep 17 00:00:00 2001 From: c33s Date: Sat, 19 Nov 2022 13:55:14 +0100 Subject: [PATCH] [Framework] clearified base_uri behavior with extra examples --- reference/configuration/framework.rst | 25 +++++++++++++++---------- 1 file changed, 15 insertions(+), 10 deletions(-) diff --git a/reference/configuration/framework.rst b/reference/configuration/framework.rst index fcbf68d1609..487808e293a 100644 --- a/reference/configuration/framework.rst +++ b/reference/configuration/framework.rst @@ -963,16 +963,21 @@ every request. Here are some common examples of how ``base_uri`` merging works in practice: -======================= ================== ========================== -``base_uri`` Relative URI Actual Requested URI -======================= ================== ========================== -http://example.org /bar http://example.org/bar -http://example.org/foo /bar http://example.org/bar -http://example.org/foo bar http://example.org/bar -http://example.org/foo/ bar http://example.org/foo/bar -http://example.org http://symfony.com http://symfony.com -http://example.org/?bar bar http://example.org/bar -======================= ================== ========================== +========================== ================== ========================== +``base_uri`` Relative URI Actual Requested URI +========================== ================== ========================== +http://example.org /bar http://example.org/bar +http://example.org/foo /bar http://example.org/bar +http://example.org/foo bar http://example.org/bar +http://example.org/foo/ /bar http://example.org/bar +http://example.org/foo/ bar http://example.org/foo/bar +http://example.org http://symfony.com http://symfony.com +http://example.org/?bar bar http://example.org/bar +http://example.org/api/v4 /bar http://example.org/bar +http://example.org/api/v4/ /bar http://example.org/bar +http://example.org/api/v4 bar http://example.org/api/bar +http://example.org/api/v4/ bar http://example.org/api/v4/bar +========================== ================== ========================== bindto ......