When trying to upload a new file to the root of a raw repository through the Upload UI the use of a directory in the upload form is mandatory. See screenshot UploadUI_formSubmit.png
This creates a problem for files that need to be uploaded on the root of the raw repository and not to a sub-path in the raw repository. If I add / as the Directory, in order to be able to submit the form, then the artefact is uploaded but it is not reachable when trying to download it. Because its Component Name changes to "/<artefact_name>". See screenshot for details (UploadUI_result).
Instead when using a curl based upload (with --upload-file argument) the result is different and this is what we want. See screenshot (UploadCurl_result).
Ideally the directory path in the upload form should be optional so that uploading of files on the root folder of the raw repository is possible.