Skip to content

URLs containing multiple dots before the extension get truncated when building URLs #46

@gpoole

Description

@gpoole

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions