(#3904)  Handle redirected and missing URLs sanely in the curl plug-in.