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

Wrong CLOUDINARY_URL #331

Closed
4 of 9 tasks
stebogit opened this issue Nov 22, 2021 · 3 comments
Closed
4 of 9 tasks

Wrong CLOUDINARY_URL #331

stebogit opened this issue Nov 22, 2021 · 3 comments
Assignees

Comments

@stebogit
Copy link

Describe the bug in a sentence or two

The provided CLOUDINARY_URL value on my dashboard has the following format, please note the dot between key and secret:
cloudinary://[<key>.<secret>@]<cloud>

Screen Shot 2021-11-22 at 1 32 52 AM

However, Cloudinary\Configuration\ConfigUtils::parseCloudinaryUrl expects
cloudinary://[<key>:<secret>@]<cloud>

Although I'm using an old version of the laravel package (1.0.0, which used the SDK v2.0.0-beta6), I'm using Laravel 5.6, the code is the same on the latest version of the PHP SDK.

Now, simply replacing the . with a : in the provided URL everything works as expected, however I wonder why the inconsistency?

Issue Type (Can be multiple)

  • Build - Can’t install or import the SDK
  • Performance - Performance issues
  • Behaviour - Functions aren’t working as expected (such as generate URL)
  • Documentation - Inconsistency between the docs and behaviour
  • Other (Specify)

Operating System

  • Linux
  • Windows
  • macOS
  • All

Environment and Frameworks (fill in the version numbers)

  • PHP Cloudinary SDK version - 2.0.0-beta6
  • PHP Version - 7.1
  • Framework (Laravel, Symphony, etc) - Laravel 5.6 (i.e. cloudinary-labs/cloudinary-laravel@1.0.0
@michalkcloudinay
Copy link

Hi @stebogit, Thanks for raising this issue. We are going to implement a fix soon. I will update here once the fix is released.

@michalkcloudinay michalkcloudinay self-assigned this Nov 22, 2021
@michalkcloudinay
Copy link

Hi @stebogit, A fix for this issue was released. Please let us know if it works on your end. Thanks

@stebogit
Copy link
Author

@michalkcloudinay I see the CLOUDINARY_URL value has changed on my dashboard and it now follows the expected pattern. Thanks!

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

2 participants