nodeSolidServer / nodeSolidServer/node-solid-server
POST/PUT in NSS allow multiple resource with same url and different content-type
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 1.8k
- Forks
- 308
- PR merge metrics
- No merged PRs in 30d
Description
You can create resources :
- https://pod/foo.txt with content-type
text/plain=> creates file :/foo.txt - https://pod/foo.txt with content-type
text/turtle=> creates file/foo.txt$.ttl - https://pod/foo.txt/ as a container => creates folder
/foo.txt
The first 2 have the same url and there are 2 different files created.
All 3 have the same visual representation in SolidOs.
The first 2 should not occur and I think this is a bug
For the third one I remember @timbl writing it should not occur, but did not find where.
There was also a redirect discussion between foo/bar/ and foo/bar. His this something to do in GET ?
Is there any solid/specification, I did not find anything ? @csarven @michielbdejong
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the POST and PUT requests for /foo.txt with text/plain and text/turtle, plus the container request for /foo.txt/. Then inspect the related GET and redirect behavior; done means the resource URL and trailing-slash behavior are defined consistently and duplicate resources with the same URL are prevented.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, node.js
- Domain
- api, backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100