I tried reproducing this with latest-version and v1.9.0 (had to cherry-pick a6c589d8). My CDN was provided by a local Minio instance.
The code also looks fine as it uses the same logic for other uploads.
@supermathie, have you seen it reproducing recently?