Comments (3)
Please try again against master. We will release a new version in the next few days.
from cloudinary_npm.
@TalLevAmi I tried with the changes and now for the same strings like Århus
it fails with:
{"error":{"message":"Invalid Signature 7a98f15624148c361b4cc068d3bd38dc4cdfd2fb. String to sign - 'eager=t_default_listing|t_grid_listing&eager_async=true&public_id=59fe26c5-1e98-11e3-a415-bc764e10976c_513068bc-8b31-11e3-a0f5-b8ca3a64f8f4&tags=Århus×tamp=1405353462'.","http_code":401}}
from cloudinary_npm.
I would guess that either signature generation or verification is getting messed up by the utf8
encoding. I would prefer to get a robust fix in the new version too. So for now I will be using the following workaround with the non-master code: encode_utf8('Århus')
// WHY? http://monsur.hossa.in/2012/07/20/utf-8-in-javascript.html
// Drawbacks? http://ecmanaut.blogspot.com/2006/07/encoding-decoding-utf8-in-javascript.html#comment-934199479
// this approach doesn’t work for unmatched surrogate halves
var encode_utf8 = function ( s ) {
return unescape( encodeURIComponent( s ) );
}
// =====
from cloudinary_npm.
Related Issues (20)
- Property 'next_cursor' does not exist on type 'ResourceApiResponse' HOT 2
- Missing`upload_stream` documentation HOT 6
- Escaping overlay text seems impossible in the version 1.41.0 HOT 6
- Unexpected token < in JSON at position 0. Status code 500 in Nextjs 13 production build (App router) HOT 9
- Support passing in analytics product version to URL generation HOT 2
- Typescript error on search API HOT 2
- Invalid signature String to sign HOT 2
- Cloudinary.com Signup Process HOT 3
- Missing return types on v2.api.resources() HOT 4
- Uploading file as buffer does not works in production. HOT 17
- "Error: must supply api_key" in heroku log HOT 3
- mp3 file is not being deleted HOT 1
- TypeScript error: `Property 'end' does not exist on type 'UploadStream'.` HOT 1
- Must supply api_key HOT 1
- Photo Query Page updates dynamically in local machine, but failed to update dynamically after deployment to Cloudflare or Netlify HOT 1
- error fetching photos by folder HOT 3
- TypeError: Cannot read properties of undefined (reading 'secure_url') When i uploading image to cloudinary as const response = await uploadFileToCloudinary(file, "Mayank"); console.log(response); Then the response is printed as undefined and the error is provided HOT 4
- TypeError: Cannot read properties of undefined (reading 'secure_url') When i uploading image to cloudinary as const response = await uploadFileToCloudinary(file, "Mayank"); console.log(response); Then the response is printed as undefined and the error is provided HOT 1
- Missing download_folder method in typescript types HOT 2
- Bán acc xamvn - xamvn.casa xamvn.vl , acc xamvn giá siêu rẻ
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cloudinary_npm.