Picolab/pico-engine
We ought to consolidate code in Wrangler for computing a URL given an absoluteURL and a RID
Ouverte
#583 ouverte le 7 janv. 2022
enhancementgood first issue
Métriques du dépôt
- Stars
- (51 étoiles)
- Métriques de merge PR
- (Métriques PR en attente)
Description
To install a ruleset, you have two options:
- Provide the absolute (full) URL of where the source code is located, or
- Provide an absolute URL of an already-installed ruleset (usually the one that is evaluating) and the RID of another ruleset whose source code is located in the same folder (see RFC-3986, section 4.2)
As Wrangler is written now, there are two places where we compute an absolute URL from a given URL and a RID. These are: