adobe / adobe/aem-upload

Folders with names containing space are considered invalid

Open
#132 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
68
Forks
18
PR merge metrics
No merged PRs in 30d

Description

Currently folders with their names containing space are considered invalid names - [0]. Requests uploading folders with name containing space, have space char replaced with "-" - [1]

Also from [2], JCR does not seem to prevent using space in names of items.

Suggest to consider space as a valid character, as most file systems AEM users use, support space in folder names. Also the new UI of AEM supports uploading folders with names with spaces (eventually the JCR node also has spaces in it)

[0] https://github.com/adobe/aem-upload/blob/master/src/constants.js#L58
[1] https://github.com/adobe/aem-upload/blob/master/src/filesystem-upload-options.js#L27
[2] https://jackrabbit.apache.org/oak/docs/constraints.html

Contributor guide

Open the contributing guide

Research direction

Start by reading the folder-name validation in src/constants.js and the name replacement in src/filesystem-upload-options.js, then inspect how these paths are used by the upload entry point. Done means folder names containing spaces are accepted and uploaded with their original names rather than replacing spaces with hyphens.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
cli
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.