Skip to content
Snippets Groups Projects
Commit aa383a2a authored by stuebinm's avatar stuebinm
Browse files

minor addition

parent 0682e115
No related branches found
No related tags found
No related merge requests found
Pipeline #8428 failed
...@@ -69,8 +69,10 @@ For now there are three types of such rules: ...@@ -69,8 +69,10 @@ For now there are three types of such rules:
case it will be rejected as a lint error. case it will be rejected as a lint error.
- `schema: {"scope":[scopes], "subst":{domain: prefix, ...}}`: if in a scope - `schema: {"scope":[scopes], "subst":{domain: prefix, ...}}`: if in a scope
listed in `scopes` and given a URI with the domain `domain`, concatenate listed in `scopes` and given a URI with the domain `domain`, concatenate
`prefix` with the tail of this URI. If there is no applicable `domain`, `prefix` with the tail of this URI.
reject the URI
In case an URI is encountered and there is no applicable rule, it will be rejected
(note that this means you'll have to explicitly allow `https://` for links!)
For now there are two (useful) scopes: `map` applies to tiled map links For now there are two (useful) scopes: `map` applies to tiled map links
(i.e. `exitUrl`), and `website` applies to weblinks (i.e. `openWebsite`). (i.e. `exitUrl`), and `website` applies to weblinks (i.e. `openWebsite`).
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment