Skip to content

Conversation

@dmgawel
Copy link
Contributor

@dmgawel dmgawel commented Feb 27, 2020

The plugin uses stream_wrapper_register with STREAM_IS_URL flag, thus requiring allow_url_fopen to be enabled. It is a common security practice among hosting providers to disable this option as a precautionary measure. In such a setup the user only sees following error:

Unable to create directory. Is its parent directory writable by the server?

This PR adds a check during plugin init and provides appropriate error message when allow_url_fopen is disabled.

Related issue: #325

Copy link

@hm-linter hm-linter bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Linting failed (978 errors, 14 warnings).

(990 notices occurred in your codebase, but were on files/lines not included in this PR.)

@joehoyle
Copy link
Member

joehoyle commented Jun 8, 2020

Great, thanks @dmgawel

@joehoyle
Copy link
Member

joehoyle commented Jun 9, 2025

Rebased in #705

@joehoyle joehoyle closed this Jun 9, 2025
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

Successfully merging this pull request may close these issues.

2 participants