You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Relative URIs in ACL files (e.g., <./resource> or <./>) are not being resolved relative to the ACL file's location. This requires using absolute URLs in ACL files, which is non-standard.
Expected Behavior
Per the Solid WAC spec, relative URIs in ACL files should resolve relative to the ACL document's URL. For example, in /credit/.acl:
<#public>a acl:Authorization ;
acl:accessTo <./> ; # Should resolve to /credit/
acl:default <./> ;
acl:mode acl:Read .
Actual Behavior
Relative URIs don't match. Only absolute URLs work:
Fixed in a736338 ("Resolve relative URLs in WAC ACL parser") on 2026-01-01 — src/wac/parser.js now resolves ./, ../foo/, etc. against the ACL document's base URL before the URL match step. Both JSON-LD and Turtle ACL forms work.
Activity
melvincarvalho commentedon May 1, 2026
Fixed in a736338 ("Resolve relative URLs in WAC ACL parser") on 2026-01-01 —
src/wac/parser.jsnow resolves./,../foo/, etc. against the ACL document's base URL before the URL match step. Both JSON-LD and Turtle ACL forms work.Verified on the current
gh-pagestip:Regression coverage already in
test/wac.test.js:should resolve relative accessTo URLsshould resolve relative default URLsshould resolve parent-relative URLs like ../other/Closing — reopen if anyone hits a relative-URI ACL that still doesn't resolve.