-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7200 from kenjis/fix-base_url
fix: base_url() removes trailing slash in baseURL
- Loading branch information
Showing
6 changed files
with
108 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
############################## | ||
Upgrading from 4.3.1 to 4.3.2 | ||
############################## | ||
|
||
Please refer to the upgrade instructions corresponding to your installation method. | ||
|
||
- :ref:`Composer Installation App Starter Upgrading <app-starter-upgrading>` | ||
- :ref:`Composer Installation Adding CodeIgniter4 to an Existing Project Upgrading <adding-codeigniter4-upgrading>` | ||
- :ref:`Manual Installation Upgrading <installing-manual-upgrading>` | ||
|
||
.. contents:: | ||
:local: | ||
:depth: 2 | ||
|
||
Breaking Changes | ||
**************** | ||
|
||
base_url() | ||
========== | ||
|
||
The :php:func:`base_url()` behavior has been fix. In previous versions, when you | ||
call ``base_url()`` **without argument**, it returned baseURL without a trailing | ||
slash (``/``). Now it returns baseURL with a trailing slash. For example: | ||
|
||
- before: ``http://example.com`` | ||
- after: ``http://example.com/`` | ||
|
||
If you have code to call ``base_url()`` without argument, you may need to adjust the URLs. | ||
|
||
Project Files | ||
************* | ||
|
||
Some files in the **project space** (root, app, public, writable) received updates. Due to | ||
these files being outside of the **system** scope they will not be changed without your intervention. | ||
|
||
There are some third-party CodeIgniter modules available to assist with merging changes to | ||
the project space: `Explore on Packagist <https://packagist.org/explore/?query=codeigniter4%20updates>`_. | ||
|
||
Content Changes | ||
=============== | ||
|
||
The following files received significant changes (including deprecations or visual adjustments) | ||
and it is recommended that you merge the updated versions with your application: | ||
|
||
Config | ||
------ | ||
|
||
- @TODO | ||
|
||
All Changes | ||
=========== | ||
|
||
This is a list of all files in the **project space** that received changes; | ||
many will be simple comments or formatting that have no effect on the runtime: | ||
|
||
- @TODO |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters