-
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: Inaccurate path resolution in Boot #9309
Comments
By default in the |
I understand and know this, but what is the point of not showing error messages in the terminal? It turns out that the terminal user in the production environment must be either an attacker or a telepath. It is unclear and unfriendly in my opinion. |
I should have written about the environment, of course. My mistake. |
This seems to be an issue with |
I don't believe that OP wants to change any settings to see errors in the cli. |
Oh... I just spotted the full description of the label I assigned to this issue, so I am removing it now. While this may be inconvenient, we rely on the settings from the given environment to display errors. |
The problem is that there is one setting, but two interfaces - web and cli. The point of hiding the output of confidential information, in my opinion, exists only in the case of web. Okay, I get it. Thanks. |
Yes, I understand your point. But in some cases, this can be dangerous. We can't be sure what users will do with |
I didn't think about the cron and now completely agree. |
@paulbalandan @michalsn This is a special case, because when |
Okay, let's reopen it then. What a rollercoaster 😅 |
Thank you guys! |
PHP Version
8.3
CodeIgniter4 Version
4.5.5
CodeIgniter4 Installation Method
Composer (as dependency to an existing project)
Which operating systems have you tested for this bug?
Windows
Which server did you use?
cli
Database
No response
What happened?
spark prints "" and nothing else.
Steps to Reproduce
Expected Output
At least more meaningful error message.
Anything else?
When using the realpath function, if there is no actual path in the file system, false is returned. Which is then converted to an empty string when concatenated. The result path is pointing to the root.
The text was updated successfully, but these errors were encountered: