nodeSolidServer / nodeSolidServer/node-solid-server
POST/PUT in NSS allow multiple resource with same url and different content-type
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- JavaScript
- Sterne
- 1.8k
- Forks
- 308
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
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
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Beginne damit, die POST- und PUT-Anfragen für /foo.txt mit text/plain und text/turtle sowie die Container-Anfrage für /foo.txt/ zu reproduzieren. Untersuche anschließend das zugehörige GET- und Weiterleitungsverhalten; abgeschlossen ist die Aufgabe, wenn die Ressourcen-URL und das Verhalten des abschließenden Schrägstrichs konsistent definiert sind und doppelte Ressourcen mit derselben URL verhindert werden.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- javascript, node.js
- Bereich
- api, backend
- Issue-Typ
- Bug
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Muss geklärt werden
- Anfängerfreundlichkeit
- 25/100