mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-24 15:57:19 +00:00
7d74818d9a
When using array URLs with `testAction()`, the generated URL possibly contains the configured `App.base` path, which needs to be stripped when set on the request object, as otherwise routes cannot be matched correctly. When passing the URL as an option to the `CakeRequest` constructor, the it will be set as-is, unlike when the URL is being generated by `CakeRequest::_url()`, which grabs the URL from the environment, and strips the possible base path. |
||
---|---|---|
.. | ||
Cake |