psecio/iniscan

allow_url_include value unrecognized

anaxamaxan opened this issue · 3 comments

In my php.ini

allow_url_fopen = Off
allow_url_include = Off

For this, iniscan gives:

FAIL   | ERROR    | allow_url_fopen          | Do not allow the opening of remote file resoources ('Off' recommended)
FAIL   | ERROR    | allow_url_include        | Do not allow the inclusion of remote file resources ('Off' recommended)

If I change php.ini like so:

allow_url_fopen = 'Off'
allow_url_include = 'Off'

iniscan gives an odd result:

PASS   | ERROR    | allow_url_fopen          | Do not allow the opening of remote file resoources ('Off' recommended)
PASS   | ERROR    | allow_url_include        | Do not allow the inclusion of remote file resources ('Off' recommended)

Btw, using 0 (zero) values gives the same result as the first one.

I just pushed an update - give that one a shot, it normalizes the data a bit more.

No feedback in a few days, closing issue. Reopen if it's still an issue - thanks

Works OK. Only small problem is that Composer requires allow_url_fopen to function, but that's not exactly a bug per se.