Special characters in a file name cause image uploads to seem to fail though the image is successfully uploaded to cloudinary. This is because the filename is not url encoded. This results in an error of
InvalidArgumentException: The URI '' is invalid. You must use a valid URI scheme. in Drupal\Core\Url::fromUri() (line 290 of /var/www/drupalvm/web/core/lib/Drupal/Core/Url.php).
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | url_encode_fix-3171412-6.patch | 4.23 KB | damondt |
| #5 | url_encode_fix-3171412-5.patch | 2.84 KB | damondt |
| #3 | url_encode_fix-3171412-1.patch | 1.35 KB | damondt |
Comments
Comment #2
damondt commentedComment #3
damondt commentedAttaching a patch that fixes this.
Comment #4
damondt commentedComment #5
damondt commentedSmall fix for previous patch.
Comment #6
damondt commentedDrupal coding standars fix