cloudinary_npm icon indicating copy to clipboard operation
cloudinary_npm copied to clipboard

Escaping overlay text seems impossible in the version 1.41.0

Open DenisLaboureyras opened this issue 1 year ago • 6 comments

Describe the bug in a sentence or two.

When I want to use the overlay text transformation, I can't use the slash / character, or comma. It was working fine with a previous version (I was escaping manually these characters, thanks to this article : https://support.cloudinary.com/hc/en-us/articles/202521512-How-to-add-a-special-characters-in-text-overlays-).

Issue Type (Can be multiple)

[ ] Build - Can’t install or import the SDK [ ] Babel - Babel errors or cross browser issues [ ] Performance - Performance issues [X] Behaviour - Functions aren’t working as expected (Such as generate URL) [ ] Documentation - Inconsistency between the docs and behaviour [ ] Incorrect Types - For typescript users who are having problems with our d.ts files [ ] Other (Specify)

Steps to reproduce

Use the following function: await cloudinary.uploader.upload(url, { transformation: [ { overlay: { text: 'text with a slash / or an escaped slash %E2%88%95', }, }, ], }); The generated file will have escaped characters instead of /

Versions and Libraries (fill in the version numbers)

Cloudinary_NPM SDK v1.41.0 Node - 18.10.0

DenisLaboureyras avatar Sep 27 '23 13:09 DenisLaboureyras

Hi there,

Thanks for reaching out. I am checking on this with the development team and I will get back to you as soon as possible.

Kind regards,

Tia

esguerrat avatar Sep 30 '23 21:09 esguerrat

Hi DenisLaboureyras, Please note that we are working on a fix and will keep you updated when it's deployed. Regards, Mo

momoip avatar Nov 17 '23 18:11 momoip

Thanks a lot !

DenisLaboureyras avatar Nov 20 '23 08:11 DenisLaboureyras

Hi DenisLaboureyras, You're very welcome. I will let you know when the fix is complete. Regards, Mo

momoip avatar Dec 05 '23 16:12 momoip

Hello @momoip,

Any updates on the fix ?

kind regards, Denis

DenisLaboureyras avatar Apr 22 '24 13:04 DenisLaboureyras

@DenisLaboureyras I'm afraid there is still no ETA for the fix currently but will update you as soon as we know more.

tommyg-cld avatar Apr 23 '24 10:04 tommyg-cld

Seems fixed in v2.3.0

DenisLaboureyras avatar Aug 19 '24 08:08 DenisLaboureyras

@DenisLaboureyras thx for the update and apologies for the lack of updates. Glad it's working now.

tommyg-cld avatar Aug 19 '24 10:08 tommyg-cld