nodeSolidServer / nodeSolidServer/node-solid-server
PUT /public/.meta file made /public/ unreadable
Nadie ha tomado este issue todavía.
- Lenguaje dominante
- JavaScript
- Estrellas
- 1.8k
- Forks
- 308
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
I've wanted to test the .meta file a bit out, as I didn't find specification on what HTTP Requests are allowed for it. I've made a PUT request with <xyz> "test" as body, it responded with 201 created, but now the folder is broken. When trying to access it, it responds with 500 Can't parse container.
Here is the directory: https://otman.solid.community/public/
The request and response
PUT /public/.meta HTTP/1.1
Host: otman.solid.community
User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:67.0) Gecko/20100101 Firefox/67.0
Accept: */*
Accept-Language: en,en-US;q=0.7,de;q=0.3
Accept-Encoding: gzip, deflate, br
authorization: Bearer ...
Origin: https://otto-aa.github.io
DNT: 1
Connection: keep-alive
Referer: https://otto-aa.github.io/solid-filemanager/?url=https://otman.solid.community/public
Cookie: connect.sid=s%3A-KJ3IJZZQBVCXWGoa-EoaXKVN3fXH81V.T8alwcfT2VYWlvw0bq5il17fDgzNn%2FhNubbXmZF6aSk
Pragma: no-cache
Cache-Control: no-cache
Content-Length: 12
HTTP/1.1 201 Created
X-Powered-By: solid-server
Access-Control-Allow-Origin: https://otto-aa.github.io
Vary: Accept, Authorization, Origin
Access-Control-Allow-Credentials: true
Access-Control-Expose-Headers: Authorization, User, Location, Link, Vary, Last-Modified, ETag, Accept-Patch, Accept-Post, Updates-Via, Allow, WAC-Allow, Content-Length, WWW-Authenticate
Allow: OPTIONS, HEAD, GET, PATCH, POST, PUT, DELETE
Link: <.meta.acl>; rel="acl", <.meta.meta>; rel="describedBy", <http://www.w3.org/ns/ldp#Resource>; rel="type"
MS-Author-Via: SPARQL
Content-Type: text/plain; charset=utf-8
Content-Length: 7
ETag: W/"7-rM9AyJuqT6iOan/xHh+AW+7K/T8"
set-cookie: connect.sid=s%3A-KJ3IJZZQBVCXWGoa-EoaXKVN3fXH81V.T8alwcfT2VYWlvw0bq5il17fDgzNn%2FhNubbXmZF6aSk; Domain=.solid.community; Path=/; Expires=Sat, 25 May 2019 04:47:47 GMT; HttpOnly; Secure
Date: Fri, 24 May 2019 04:47:47 GMT
Connection: keep-alive
Guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Línea de trabajo
Empieza reproduciendo la solicitud PUT contra https://otman.solid.community/public/.meta y compara la respuesta 201 con la respuesta posterior 500 Can't parse container. Rastrea el punto de entrada del servidor que gestiona las solicitudes PUT para los recursos .meta y el análisis de contenedores; se considerará terminado cuando una actualización .meta malformada ya no haga que /public/ sea ilegible y el resultado de la solicitud se gestione de forma coherente.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- javascript, node.js
- Área
- api, backend
- Tipo de issue
- Error
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Estado de actividad
- Estancado
- Claridad
- Necesita aclaración
- Aptitud para principiantes
- 35/100