Skip to content
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

Resolving content for a symlinked (linkId) RepoNode #1

Open
loeffert opened this issue Mar 6, 2014 · 0 comments
Open

Resolving content for a symlinked (linkId) RepoNode #1

loeffert opened this issue Mar 6, 2014 · 0 comments

Comments

@loeffert
Copy link
Member

loeffert commented Mar 6, 2014

The RepoNode and at least the content server take care about the value "linkID" which is helpful if you want to symlink a node to another one.

If the user tries to resolve content for a node which has a linkID set he wouldn't be able to recognize that. The content server responds with a status 200 and returns the node not the linked node - which is maybe fine, but the respond code and the item uri should be fixed.

ID => URI => LINK_ID
#1 => /collection => #2
#2 => /collection/men => null

Resolving /collection will end up with status 200 ok, but it should be 302 found and the returned URI should be /collection/men. Otherwise the user would be able to fetch content which should not be addressable directly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant