Open
Description
Environment
Windows 10 64-bit
Agregore v1.0.0-29
Creating a new folder via the fetch interface creates a bunch of intermediate folders that seem to be relating to Agregore's installation location.
Steps to reproduce
- Create a new hyperdrive like so
fetch("hyper://folder-creation-bug", {method: "PUT"});
- Write an empty folder to that hyperdrive
fetch("hyper://folder-creation-bug/new-folder/", {method: "PUT"});
- Navigate to the hyperdrive in the browser view
Expected behaviour
An empty hyperdrive save for the folder "new-folder"
Actual behaviour
The hyperdrive contains a series of nested folders corresponding to agregore's install location before the newly created folder (e.g. hyper://folder-creation-bug/Users/Delta/AppData/Local/Programs/agregore-browser/new-folder/
)
Additional details
PUT
ting a new file into an intermediary folder like so:
fetch("hyper://folder-creation-bug/new-folder/test.json", {method: "PUT", body: "{key: 'value', foo: ['bar']}"});
produces the expected results, and creates new-folder at the root level of the hyperdrive.