-
Notifications
You must be signed in to change notification settings - Fork 299
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix file to URL resolving for multi-host.
* Patch fix * Remove console log * Fix Ruben Comments * replace backslashes to handle windows routes * Fix tests * Reverted original test back because it is async * More specific test to check for error * Correct error comaparison
- Loading branch information
1 parent
b7b5bff
commit 6dbc45b
Showing
4 changed files
with
35 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,10 @@ | ||
@prefix : <#>. | ||
@prefix acl: <http://www.w3.org/ns/auth/acl#>. | ||
@prefix c: <https://localhost:7000/profile/card#>. | ||
@prefix c0: <https://localhost:8443/profile/card#>. | ||
|
||
c:me | ||
acl:trustedApp | ||
[ acl:mode acl:Read, acl:Write; acl:origin <https://app.example.com> ]. | ||
c0:me | ||
:me | ||
acl:trustedApp | ||
[ | ||
acl:mode acl:Append, acl:Control, acl:Read, acl:Write; | ||
acl:origin <https://trusted.app> | ||
]. | ||
], | ||
[ acl:mode acl:Read, acl:Write; acl:origin <https://app.example.com> ]. |
10 changes: 3 additions & 7 deletions
10
test/resources/accounts-strict-origin-off/alice/profile/card$.ttl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,10 @@ | ||
@prefix : <#>. | ||
@prefix acl: <http://www.w3.org/ns/auth/acl#>. | ||
@prefix c: <https://localhost:7010/profile/card#>. | ||
@prefix c0: <https://localhost:8443/profile/card#>. | ||
|
||
c:me | ||
acl:trustedApp | ||
[ acl:mode acl:Read, acl:Write; acl:origin <https://app.example.com> ]. | ||
c0:me | ||
:me | ||
acl:trustedApp | ||
[ | ||
acl:mode acl:Append, acl:Control, acl:Read, acl:Write; | ||
acl:origin <https://trusted.app> | ||
]. | ||
], | ||
[ acl:mode acl:Read, acl:Write; acl:origin <https://app.example.com> ]. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters