October: PathResolver::resolve breaks with open_basedir

Created on 24 Aug 2020  路  3Comments  路  Source: octobercms/october

Description:

The new PathResolver introduced recently is not working with open_basedir restrictions.

This happens in the resolve method when looping through all segments of the given path, and calling is_link or is_file on a segment which is not contained in the open_basedir allowed paths.

Completed Bug

All 3 comments

Thanks @freddy38510 - totally forgot about basedir restrictions. Will deploy a fix for this shortly.

@freddy38510 Would you mind testing PR https://github.com/octobercms/library/pull/516 and let us know if that stops the "open_basedir" warnings from being shown?

@bennothommo

I was just testing this PR, there is no more warnings about open_basedir.

Thanks for your reactivity, great job !

Was this page helpful?
0 / 5 - 0 ratings