Skip to content

Commit 97b942f

Browse files
c33sjaviereguiluz
authored andcommitted
[Framework] clearified base_uri behavior with extra examples
1 parent 4c0ceb7 commit 97b942f

File tree

1 file changed

+15
-10
lines changed

1 file changed

+15
-10
lines changed

reference/configuration/framework.rst

Lines changed: 15 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -963,16 +963,21 @@ every request.
963963

964964
Here are some common examples of how ``base_uri`` merging works in practice:
965965

966-
======================= ================== ==========================
967-
``base_uri`` Relative URI Actual Requested URI
968-
======================= ================== ==========================
969-
http://example.org /bar http://example.org/bar
970-
http://example.org/foo /bar http://example.org/bar
971-
http://example.org/foo bar http://example.org/bar
972-
http://example.org/foo/ bar http://example.org/foo/bar
973-
http://example.org http://symfony.com http://symfony.com
974-
http://example.org/?bar bar http://example.org/bar
975-
======================= ================== ==========================
966+
========================== ================== ==========================
967+
``base_uri`` Relative URI Actual Requested URI
968+
========================== ================== ==========================
969+
http://example.org /bar http://example.org/bar
970+
http://example.org/foo /bar http://example.org/bar
971+
http://example.org/foo bar http://example.org/bar
972+
http://example.org/foo/ /bar http://example.org/bar
973+
http://example.org/foo/ bar http://example.org/foo/bar
974+
http://example.org http://symfony.com http://symfony.com
975+
http://example.org/?bar bar http://example.org/bar
976+
http://example.org/api/v4 /bar http://example.org/bar
977+
http://example.org/api/v4/ /bar http://example.org/bar
978+
http://example.org/api/v4 bar http://example.org/api/bar
979+
http://example.org/api/v4/ bar http://example.org/api/v4/bar
980+
========================== ================== ==========================
976981

977982
bindto
978983
......

0 commit comments

Comments
 (0)