Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Escaping overlay text seems impossible in the version 1.41.0 #632

Closed
DenisLaboureyras opened this issue Sep 27, 2023 · 8 comments
Closed

Comments

@DenisLaboureyras
Copy link

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

@esguerrat
Copy link

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

@momoip
Copy link

momoip commented Nov 17, 2023

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

@DenisLaboureyras
Copy link
Author

Thanks a lot !

@momoip
Copy link

momoip commented Dec 5, 2023

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

@DenisLaboureyras
Copy link
Author

Hello @momoip,

Any updates on the fix ?

kind regards,
Denis

@tommyg-cld
Copy link
Contributor

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

@DenisLaboureyras
Copy link
Author

Seems fixed in v2.3.0

@tommyg-cld
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants