Commit 3efacf8
committed
minor #17439 [Framework] clearified base_uri behavior with extra examples (c33s)
This PR was submitted for the 6.2 branch but it was squashed and merged into the 5.4 branch instead.
Discussion
----------
[Framework] clearified base_uri behavior with extra examples
added some more examples with an extra directory depth. this should better document the behavior for the `base_uri` parameter in combination with the leading slash in the relative url.
took some "reallife" url as example as `foo/bar/baz` wouldn't be so clear with only one letter difference between `bar` and `baz`. i only added one "foo" url and the urls with `api` in the path, the others rows are only changed because of the new intending. even if some of the examples are redundant i personally would keep them as the extra examples clearify the behavior.
cost me quite some time to figure that out. hope this small addition helps people not to fall for the same.
related to: symfony/symfony#39724
Commits
-------
97b942f [Framework] clearified base_uri behavior with extra examples1 file changed
+15
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
963 | 963 | | |
964 | 964 | | |
965 | 965 | | |
966 | | - | |
967 | | - | |
968 | | - | |
969 | | - | |
970 | | - | |
971 | | - | |
972 | | - | |
973 | | - | |
974 | | - | |
975 | | - | |
| 966 | + | |
| 967 | + | |
| 968 | + | |
| 969 | + | |
| 970 | + | |
| 971 | + | |
| 972 | + | |
| 973 | + | |
| 974 | + | |
| 975 | + | |
| 976 | + | |
| 977 | + | |
| 978 | + | |
| 979 | + | |
| 980 | + | |
976 | 981 | | |
977 | 982 | | |
978 | 983 | | |
| |||
0 commit comments