We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Sample Code:
var imagekit = require("imagekit") let imagekitClient = new imagekit({ publicKey: "does-no-matter", urlEndpoint: "http://ik.imagekit.io/pwliscd3n", privateKey: "aksnda" }) console.log(imagekitClient.url({ urlEndpoint: "http://ik.imagekit.io/pwliscd3n", path: "/Stu's Design/test_YAWJ6NgGN.jpg", signed: false, }))
Expected output https://ik.imagekit.io/pwliscd3n/Stu's%20Design/test_YAWJ6NgGN.jpg - This URL works
Actual output https://ik.imagekit.io/pwliscd3n/Stu%27s%20Design/test_YAWJ6NgGN.jpg - This does not work
We use url.format which is a legacy api, we should use the WHATWG URL API https://nodejs.org/api/url.html#urlformaturlobject
The text was updated successfully, but these errors were encountered:
'
No branches or pull requests
Sample Code:
Expected output
https://ik.imagekit.io/pwliscd3n/Stu's%20Design/test_YAWJ6NgGN.jpg - This URL works
Actual output
https://ik.imagekit.io/pwliscd3n/Stu%27s%20Design/test_YAWJ6NgGN.jpg - This does not work
We use url.format which is a legacy api, we should use the WHATWG URL API
https://nodejs.org/api/url.html#urlformaturlobject
The text was updated successfully, but these errors were encountered: