Skip to content
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

readonly_exec + phar archives seems to not work #452

Open
ZetaTwo opened this issue Apr 18, 2023 · 0 comments
Open

readonly_exec + phar archives seems to not work #452

ZetaTwo opened this issue Apr 18, 2023 · 0 comments
Assignees

Comments

@ZetaTwo
Copy link

ZetaTwo commented Apr 18, 2023

Apr 18 13:37:47 helpdesk snuffleupagus[39409]: [snuffleupagus][0.0.0.0][readonly_exec][log] Error while accessing phar:///var/www/html/osticket/upload/include/plugins/auth-oauth2.phar/plugin.php: No such file or directory in phar:///var/www/html/osticket/upload/include/plugins/auth-oauth2.phar/plugin.php on line 3

I suspect that sp tries to do something with the fake path that PHP provides for the file inside the phar archive. I guess phar:// files require special handling to split on the (last?/first?) .phar part and check if that file has the right properties, etc.

@jvoisin jvoisin self-assigned this Apr 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants