-
-
Notifications
You must be signed in to change notification settings - Fork 309
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
openbasedir restrictions throws exception with is_file() #417
Comments
Apparently, there is an @ already, but that doesn't cut it.
https://github.com/matthiasmullie/minify/blob/master/src/Minify.php#L504 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Context: I only pass local CSS files to Minify, all of them allowed by openbasedir.
Minify scans the contents of the CSS files, and runs is_file() on base64 encoded contents and other stuff contained within the CSS files.
Examples :
'500 is_file(): open_basedir restriction in effect. File(/#default#VML) is not within the allowed path(s): (REDACTED) at line 461 in /var/www/domains/REDACTED/matthiasmullie/minify/src/Minify.php',
500 is_file(): open_basedir restriction in effect. File(/data:application/x-font-ttf;charset=utf-8;base64,AAEAAAALA[...]AAAAAA=) is not within the allowed path(s): (REDACTED) at line 504 in /var/www/REDACTED/matthiasmullie/minify/src/Minify.php',
Expected behavior :
The text was updated successfully, but these errors were encountered: