00:47:40 LeeF has joined #sparql 02:41:18 AlexPassant has joined #sparql 03:31:41 iv_an_ru has joined #sparql 07:38:50 AndyS has joined #sparql 08:44:43 AndyS has joined #sparql 08:45:54 SteveH_ has joined #sparql 09:15:58 AndyS has joined #sparql 10:20:03 SteveH_, good catch on xml:base. 10:20:15 AndyS, that bit is kinda nuts 10:20:34 Don't panic ! :-) the doc is wrong. 10:21:12 There can be many xml:base in a doc, it only applied to the XML element it is an attribute of. 10:21:34 that's what I thought, but wasn't 100% sure 10:29:32 the requirement for handling local URIs is a bit optimisitic as well, I bet not many systems can get that right relaibly 10:30:25 What is the requirement? 10:30:48 it would be impossible in 4store, and we built our own HTTP server 10:31:07 ...?graph=foo should reconstruct the correct URI based on the client's request URI 10:31:44 e.g. if the request was https://server1:8888/data/?graph=foo the graph URI will be https://server1:8888/data/foo 10:31:59 but in many cases the server has no way to correctly reconstruct that URI 10:32:19 The resolve "foo" against http://example/rdf-graphs/service/?graph=foo ? 10:32:52 let me look what the example was 10:33:06 the example in the doc was a simple one, which doesn't exhibit the problem 10:33:07 I think that proxies rely sufficient info to reconstruct the original URL but I'm just checking this. 10:33:16 s/rely/relay/ 10:33:21 they don't relay http v's https 10:33:23 I checked 10:33:34 Ah. Bother. Tricky. 10:33:55 I'm not convinced they relay the clients requester domain name either, but not sure about that 10:34:02 I'm checking what relayed servlets get to see. 10:34:23 s/requester/requested/ 10:34:25 I have no idea what is real-world behaviour. 10:34:52 we tend to use apache reverse proxies, not sure how much of their behaviour is req'd or conventional 10:35:14 I don't think relays/reverse proxies are goverened by any particular standard, but not sure about that 10:44:19 Servlet getRequestURL rebuilds the original URL. I use apache to gateway "sparql.org" (httpd) to a more protected Jetty instance. 10:47:48 I don't use any clever connector from Apache - it proxies: 10:48:36 ServerName www.sparql.org 10:48:37 ProxyRequests off 10:48:37 ProxyPass / http://127.0.0.1:2020/ 10:48:37 ProxyPassReverse / http://127.0.0.1:2020/ 10:48:37 ProxyPreserveHost On 10:49:44 Hmm - just had to restart httpd - think someone/thing is attacking (maybe by accidient) sparql.org exploiting a Jetty bug. Have now upgraded and hope it goes away. 10:51:41 ah, so Apache ProxyPass passes on the requested domain, so that's covered in that case, but not everything has the same featureset as apache, and it still doesn't pass http / https 10:52:07 wait, no, that's your config 10:52:45 but if getRequestURL rebuilds it, the data must be there somewhere 11:01:54 time to get out wireshark 11:02:48 or nc :) 11:06:47 (that's a cut down config extract) 11:07:24 right 11:08:00 Not sure it passes http/https but if https -> https and http->http then OK and works as backend does the https (e.g. cert) not front public facing. 11:15:43 we do https -> http for 4/5store because our server doesn't speak https 11:16:08 we also do it for jetty in datapatrol because there's something wrong with jetty's https support (apparently) 11:16:24 I know nothing about jetty