Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Add Oxidized API URL protocol #7978
file_get_contents() need the protocol ("http://" or similar) when fetching remote files, add it to the oxidized API URL config if the user forgot it.
I'm not sure this is the best place to add this check, if you have any suggestion, please let me know.
DO NOT DELETE THIS TEXT
If you would like to test this pull request then please run:
Maybe just doing https://developer.mozilla.org/en-US/docs/Learn/HTML/Forms/Form_validation for now?
Ideally longer term we'd define the config values that should exist in the db so we can validate they exist. We could also then validate the input.