We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When the system's umask is not set appropriately the cache and cookies files may be created world-readable.
This should be fixed by creating the files before curl can write to them, something like:
function secure_touch($fname) { if (file_exists($fname)) { return; } $temp = tempnam(sys_get_temp_dir()); rename($temp, $fname); } … secure_touch($this->cookie_file); secure_touch($this->cache_file);
The text was updated successfully, but these errors were encountered:
06b3826
Ensure cookie and cache files are secure (not group or world readable).
1983a9a
Fixes gboudreau#29
Implemented code to address concerns in issue gboudreau#29
bb2718e
No branches or pull requests
When the system's umask is not set appropriately the cache and cookies files may be created world-readable.
This should be fixed by creating the files before curl can write to them, something like:
The text was updated successfully, but these errors were encountered: