Skip to content

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

@RSGNR15

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions