read-write-web / rww-play

read write web Play
59 stars 19 forks source link

Exception when using a domain #152

Open sylvainlb opened 9 years ago

sylvainlb commented 9 years ago

When using a domain, RwwPlay fails with a timeout exception unless a http.domain parameter is provided. RwwPlay should accept requests wherever they're coming if not specified otherwise.

reederz commented 9 years ago

I thought that http.domain was used for url generation internally rather than as a security measure.

sylvainlb commented 9 years ago

Absolutely. The bug is happening when the parameter is not provided and the host requested is not in the interfaces.

bblfish commented 9 years ago

yes, so that means that the server should function with relative URI support. Relative URIs should be always be directed by the server to the local actor. This is then another reason for supporting relative URIs, and even relative Graphs: the server may not know it's own name. So a use case for https://github.com/w3c/banana-rdf/issues/41