Magento – Importing product images from URL problem

magento2.3product-imagesproduct-import

I'm trying to import some products from a csv with images that are stored on an external server. The images are saving to the var/import folder ok but they won't assign to the product. I'm using the google logo to test.
The exception.log file says:
main.CRITICAL: File 'var/import/googlelogo_color_272x92dp.pnggooglelogo_color_272x92dp.png' was not found or has read restriction. {"exception":"[object] (Magento\\Framework\\Exception\\LocalizedException(code: 0): File 'var/import/googlelogo_color_272x92dp.pnggooglelogo_color_272x92dp.png' was not found or has read restriction. at /home/account/public_html/vendor/magento/module-catalog-import-export/Model/Import/Uploader.php:210)"} []
See how it's concatenating the file name twice? What's going on?
The import works fine if I use a local path but goes screwy when I put an external url in the source.
For the record the image source is:
https://www.google.co.uk/images/branding/googlelogo/1x/googlelogo_color_272x92dp.png

I've tried the same file on a different installation of 2.3 and got the same result. The same file worked perfectly on 2.2.6

Best Answer

I overwrote /vendor/magento/module-catalog-import-export/Model/Import/Uploader.php with the version from 2.2.6 and it worked fine.