Support Relative URLs not anchored at the root #4245
Labels
1 - triaged
Tickets that are safe to pick up for contributing in terms of likeliness of being accepted
nice-to-have (low-prio)
Tasks which make sense, however are not very high priority, feel free to help out!
In RFC5988 and it's successor RFC8288: Web Linking the BNF of the Link header is defined as
where URI-Reference can be a relative url as defined in rfc3986.
I am using the actor hierarchy to map a collection hierarchy so that I should for example be able to compare to actor URIs and build up a relative path such as
<../../.acl>
without needing to know what the full url of the server is, nor what the root url is. That is userful as the server need not serve urls from the root.The problem with the current
Link
header is that it takes a sequences ofakka.http.scaladsl.model.headers.LinkValue
objects, wherecase class LinkValue(uri: Uri, params: immutable.Seq[LinkParam])
is constructed usingUri
which does not support urls containing../
path segments.The text was updated successfully, but these errors were encountered: