-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Specify resource naming constraints unambiguously #368
Comments
In spec, it mentions that slash semantics only applies to If origin-form is allowed to be primary resource uri, then both |
Thanks a lot for bringing this up, excuse the silence, I do believe it is important. I think there is a point of intersection with the auxiliary resources discussion. Indeed, the observation that ESS implements auxiliary resources using origin-form (as opposed to the Just to throw a thought forward: Perhaps we should constrain Solid so that normal resources must be of absolute-form, whereas auxiliary resources may be of origin-form? Other interfaces, e.g. query interfaces, would also typically be allowed origin-form, but since they tend to get a subset of the representation of a resource, it makes sense that they have their own URI. This would resolve the issue that you point to, @damooo . It could make it possible for servers to implement security measures since the absolute-form is more constrained, and it would make it clear that if the request is of origin-form, it is an auxiliary resource. OTOH, it would also be constraining quite a lot, so I don't know if there are use cases that would use origin-form for resources. If so, we could relax the requirement later, but it would be good for this to be reviewed through that lens. |
Allowing origin-form for normal resources arises lot of unspecified behaviour as described in previous comment. Even not taking security perspective, that will leave so many ambiguities, un-understood behaviours as solid has attached As you stated @kjetilk , it may be better if
Noting that, |
I am sorry if i am popping out unnecessary corner cases, but they are popping out when modelling identifier space in comprehensive way. Does auxiliary resource identifiers must have same origin as of their subject resource? If allowed, what all are measures must be taken? |
There is no such restriction |
Not at all! Your attention to detail is very welcome and necessary! We need to have a bit of coordination about what editors should address when, my feeling is that we should address this very soon. |
I understand my terminology is muddled up, as i got them from stack-overflow. After reading http spec carefully, here is ontology of identifiers, and request-targets:
Thus I confused Standing terminology corrected, question is to allow/not-allow |
Currently, there is no section unambiguously defining naming constraints for solid resources. Few can be inferred, and others have ambiguity. It would be great if that little ambiguity is resolved.
#
fragments are not allowed for they are request targets. This much seems inferable. Are these inferences correct?/
in query params, whilst sharing same absolute-form. And they thus also complicates relative-urls. As of now ESS uses uris in origin-form for their ACP auxilliary resource names. like https://pod.inrupt.com/damodara/?ext=acr.etc.
The text was updated successfully, but these errors were encountered: