Skip to content

generate() method is cutting off last part of image publicId #7

@minoesteban

Description

@minoesteban

Hi everyone! We recently upgraded from 3.0.1+7 to 4.0.1+9 version of the package, and found a problem. Not sure if we are missing something new or is it really a bug

We can see now that the generate() method now removes the last part of an image's public id, if this id has any dots in it. Specifically, it removes the part after the last dot (like it is removing the file extension)

Thing is, public ids don't have extensions, so this does not have any effect, expect for file names with dots. Is this intentional? What is the purpose behind this new logic?

Thank you

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