Comments (7)
Yeah, it seems like allowing a filename to be the empty string is at least an oversight. I don't know of any other filesystems or HTTP servers that would allow that.
from hypercore-fetch.
This should not be possible. Maybe it's taking the /
as a file name?
from hypercore-fetch.
I'll just account for this and throw an error.
from hypercore-fetch.
To be clear, this means that hyperdrive allows a filename to be the empty string?
from hypercore-fetch.
Seems so. I think they just take any arbitrary string as the name. Might be worthwhile to open an issue on the hyperdrive-next repo?
from hypercore-fetch.
Seems so. I think they just take any arbitrary string as the name. Might be worthwhile to open an issue on the hyperdrive-next repo?
holepunchto/hyperdrive-next#43
from hypercore-fetch.
I think we added some code to handle this case
from hypercore-fetch.
Related Issues (20)
- How are public keys encoded? HOT 2
- Return status `403` error on attempt to modify non-writable hyperdrive HOT 1
- How to check that a node is writable HOT 3
- Adjusting HTTP response for various hyperdrive statuses HOT 10
- Entry names should not be URI-encoded in directory listings HOT 4
- Set `ETag` to version of drive after file is added (not before) HOT 7
- Add ability to delete local copy of file HOT 11
- Add `GET` request header recursively download a directory HOT 1
- URI-encoding question marks
- How to get next hyperdrive version for an entry HOT 2
- List Directory With Extra info like Etag HOT 3
- List connected peers
- Delete hyperdrive HOT 9
- Return list of versions with mtimes at `hyper://PUBLIC-KEY/$/version/` HOT 2
- Setting DEBUG environment variable seems to have no effect on hyper-gateway's output
- Send request to unregister an extension message
- Issues with extensions HOT 2
- Use `PATCH` to rename files/folders HOT 2
- Add timeouts to requests
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hypercore-fetch.