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

Should not return a document at a user’s address #14

Open
vfaronov opened this issue Jun 8, 2010 · 1 comment
Open

Should not return a document at a user’s address #14

vfaronov opened this issue Jun 8, 2010 · 1 comment

Comments

@vfaronov
Copy link

vfaronov commented Jun 8, 2010

DokuWiki with DokuSIOC will gladly (200 OK) return web pages at URIs that are supposed to identify people, such as http://example.org/doku.php?id=user:john&type=user

An established Linked Data convention is that people should not have the same URIs as web pages. To solve this problem, DokuSIOC should either redirect (303 See Other) requests from &type=user to some other other resource containing a user’s description (regardless of the Accept header), or use URIs like this:

http://example.org/doku.php?id=user:john#this

(note the #this part — it’s what makes the user’s URI distinct from the URI of the page which is returned from the server).

@haschek
Copy link
Owner

haschek commented Jun 8, 2010

Similar problem with pages which are not existing. The server responds to the user URIs with a 404.

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

No branches or pull requests

2 participants