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
Fix image proxy from throwing 404 on initial image load. #4073
Signed-off-by: Colin Schoen email@example.com
I'm not sure this is the best solution reading the whole file, there are lots of places it will return false and those are all checked by is_int, as per the comment in the forum thread this won't check correctly.
I would change it so that a true or false is returned and to check against that.
Should allow you to do that along with reverting the last change.
As you don't seem to care about what the response code was from the curl request.