cloudinary-api
cloudinary-api copied to clipboard
URLs containing multiple dots before the extension get truncated when building URLs
Public IDs containing multiple dots before the extension are getting truncated. For example, in 0.2.4 https://res.cloudinary.com/xyz/image/upload/v111111111/Folder/Name.With.Multiple.Dots.png is extracted as Folder/Name instead of Folder/Name.With.Multiple.Dots.
It looks like it's an issue with the extractPublicId regex assuming everything after the first . is the extension.
Related to #22 I think