-
Notifications
You must be signed in to change notification settings - Fork 305
Closed
Labels
bugregressionThings that used to work in earlier releasesThings that used to work in earlier releases
Description
Issue occurs in v5.0.0-beta.7-6-g217e8e3 .
If index.html is absent and index.html.acl is present, request to / returns the contents of /index.html.acl . Expected: return container
If /index.html.acl is also absent, returns container.
How to reproduce:
Fresh install. (Added public read policy on /.acl to simplify)
$ bin/solid start
$ mv data/index.html data/foo.html
$ curl -ikL https://localhost:8443/
HTTP/1.1 200 OK
X-Powered-By: solid-server/5.0.0-beta.7
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: <.acl>; rel="acl", <.meta>; rel="describedBy", <http://www.w3.org/ns/ldp#Resource>; rel="type"
WAC-Allow: user="read",public="read"
MS-Author-Via: SPARQL
Updates-Via: wss://localhost:8443
Content-Type: text/turtle
Date: Mon, 18 Feb 2019 10:20:52 GMT
Connection: keep-alive
Transfer-Encoding: chunked
@prefix acl: <http://www.w3.org/ns/auth/acl#>.
@prefix foaf: <http://xmlns.com/foaf/0.1/>.
<#public>
a acl:Authorization;
acl:agentClass foaf:Agent; # everyone
acl:accessTo <./index.html>;
acl:mode acl:Read.
Metadata
Metadata
Assignees
Labels
bugregressionThings that used to work in earlier releasesThings that used to work in earlier releases