Upgrading from 4.1.6 to 4.1.7¶
Please refer to the upgrade instructions corresponding to your installation method.
- Composer Installation App Starter Upgrading
- Composer Installation Adding CodeIgniter4 to an Existing Project Upgrading
- Manual Installation Upgrading
Breaking Changes¶
- The output of
get_cookie()when$xssCleanis true has changed. Now it usesFILTER_SANITIZE_FULL_SPECIAL_CHARS, notFILTER_SANITIZE_STRING. Make sure the change is acceptable. Note that using XSS filtering is a bad practice. It does not prevent XSS attacks perfectly. Usingesc()with the correct$contextin the views is recommended.