PHP - Creating archive from tags containing "&" char fail.
I don't appear to be able to create an archive using a tag which contains an ampersand.
$tag = 'A & B';
return \Cloudinary\Uploader::multi($tag, array(
'format' => 'zip',
'timeout' => 180
));
Results in an exception being thrown with the message "public_id (A & B,zip) is invalid"
Is this possible using the PHP API?
0
-
Hi,
We have four ways to generate a zip file. Here are all the methods: https://cloudinary.com/documentation/image_upload_api_reference#generate_archive_method
Test sample creating zip in PHP:
$result=\Cloudinary\Uploader::create_zip(
array(
'tags' => 'A & B'));
print_r($result);I used the above code and could successfully download the zip. Please test and let me know if you face any issues.
Thanks,
0
Post is closed for comments.
Comments
1 comment