Skip to content

When uploading a file with more than one dot, it's name is changing #15

Description

@RSGNR15

Expected Behaviour

File name should remain same

Actual Behaviour

File name is changing

Reproduce Scenario (including but not limited to)

When a file name has multiple dots in the name, second last dot has been converted to hyphen.

Steps to Reproduce

Upload a file with name for example index.d.ts with aem:upload commmand.
File name has been changed to index-d.ts in the AEM instance.

Platform and Version

AEMaaCS

Sample Code that illustrates the problem

file name: index.d.ts
command aio-aem aem:upload -h {aem_instance_url} -c admin:admin -t /content/dam/ -d destinationFoldetinAEM

Logs taken while reproducing problem

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions