Skip to content

Commit aec8a2d

Browse files
committed
docs: add changelog and note
1 parent 28350f3 commit aec8a2d

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

user_guide_src/source/changelogs/v4.4.0.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,10 @@ Deprecations
146146
Bugs Fixed
147147
**********
148148

149+
- **Auto Routing (Improved)**: In previous versions, when ``$translateURIDashes``
150+
is true, two URIs correspond to a single controller method, one URI for dashes
151+
(e.g., **foo-bar**) and one URI for underscores (e.g., **foo_bar**). This bug
152+
has been fixed. Now the URI for underscores (**foo_bar**) is not accessible.
149153
- **Output Buffering:** Bug fix with output buffering.
150154

151155
See the repo's

user_guide_src/source/incoming/routing.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -577,6 +577,12 @@ URI segments when used in Auto Routing, thus saving you additional route entries
577577

578578
.. literalinclude:: routing/049.php
579579

580+
.. note:: When using Auto Routing (Improved), prior to v4.4.0, if
581+
``$translateURIDashes`` is true, two URIs correspond to a single controller
582+
method, one URI for dashes (e.g., **foo-bar**) and one URI for underscores
583+
(e.g., **foo_bar**). This was incorrect behavior. Since v4.4.0, the URI for
584+
underscores (**foo_bar**) is not accessible.
585+
580586
.. _use-defined-routes-only:
581587

582588
Use Defined Routes Only

0 commit comments

Comments
 (0)