-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug: Debug\Exceptions cannot handle null character #7262
Comments
the path that raised issue is a nonutf8 character : @���۶��������� |
To be honest, when I added the |
Thank you for reporting. We don't support Mcrypt.
|
@paulbalandan What is the return var_export(clean_path($value), true); |
Yes, it can be any arbitrary string. In the review since the bug to be fixed focuses on the string file path, it was suggested to use |
That's a bug. |
PHP Version
8.2
CodeIgniter4 Version
4.3.1
CodeIgniter4 Installation Method
Composer (using
codeigniter4/appstarter
)Which operating systems have you tested for this bug?
Linux
Which server did you use?
apache
Database
Mongodb
What happened?
we encountered an issue in CodeIgniter\Debug\Exceptions->handleDeprecationError () of ci4..
the error was following
ValueError
realpath(): Argument #1 ($path) must not contain any null bytes
we found the issues is in CodeIgniter\Debug\Exceptions->renderBacktrace function
when we remove clean_path function call from above line the error disappears.
Steps to Reproduce
install mcrypt on the ubuntu machine.
call index() https://prnt.sc/ygodahSWxVQy
Expected Output
no errors
Anything else?
The text was updated successfully, but these errors were encountered: