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
JSON-LD lets `controller` be a string, object with @id/id, OR an
array of either form. The previous code assumed string|@id-object,
so an array silently produced an undefined expected controller and
disabled the mismatch check entirely.
Added normalizeControllers() helper that handles all four shapes
(string, object-with-@id, object-with-id-shorthand, array) and
returns a list of absolutized IRIs. Both the profile's outer
controller and each VM's controller are normalized through it; a
VM passes if any of its controllers is in the profile's expected
controller set.
Verified against five edge cases: array containing the WebID
(passes), object-with-id shorthand (passes), VM matching second
array entry (passes), VM matching neither (correctly fails), and
VM with array-valued controller (passes when intersection is
non-empty).
0 commit comments