core: fix for upload from url.