Case in fetched URLs
Just spotted a problem of duplicate images that at first sight could be a URL casing problem.
These two URLs show the same image (note the case difference in letter “z/Z” after “Doz8”):
Retrieving the images directly gets the correct, different images:
https://adventoorer.com/-image.php?id=Doz8ZLy&format=q640x448
https://adventoorer.com/-image.php?id=Doz8zLy&format=q640x448
Flushing the media library and executing the first two URLs directly in the browser gets the same image.
Flushing the media library again and executing the first two URLs directly in the browser, but now in reverse order gets the same image (but the second one).
Are you aware of this behavior? Is it intentional? Is it a bug?
Thanks.
Ricardo
-
Hi Ricardo,
We are aware of this behavior - public IDs are actually case insensitive. Cloudinary will cache the public ID which was originally used to store the resource so this is why you were seeing the same image for the second URL as well.However, if this is a configuration you'd like to change we can gladly change the settings on your account to have case-sensitive fetch URLs so that this will no longer be the default behavior. Just let us know :)
I hope this helps! -
Hi Armin,
There is no change in our system that happened to update this setting.
I could see that you have created a support ticket for us for the same issue.
I am asking you to share sample URLs that have this issue so I can check on it.
You can give us sample URLs to investigate it.
Thanks,
Francis
Post is closed for comments.
Comments
6 comments