kubo/core/corehttp
Juan Batiz-Benet d5f94be474 fix API handler to respect referer + exit on CORS
this commit makes the API handler short circuit the request if the
CORS headers say its not allowed. (the CORS handler only sets the
headers, but does not short-circuit)

It also makes the handler respect the referer again. See security
discussion at https://github.com/ipfs/go-ipfs/issues/1532

License: MIT
Signed-off-by: Juan Batiz-Benet <juan@benet.ai>
2015-07-28 23:08:11 -07:00
..
commands.go fix API handler to respect referer + exit on CORS 2015-07-28 23:08:11 -07:00
corehttp.go Change Process interface into object variable 2015-07-04 22:50:23 +07:00
gateway_handler.go implement arbitrary HTTP header support 2015-07-28 23:08:10 -07:00
gateway_indexPage.go http/index: fix indention and remove unused field 2015-07-04 00:51:42 +02:00
gateway_test.go namesys: Add recursive resolution 2015-05-20 08:40:05 -07:00
gateway.go implement arbitrary HTTP header support 2015-07-28 23:08:10 -07:00
ipns_hostname.go removed requirement of path package 2015-05-21 08:51:18 +02:00
logs.go add sharness test for log endpoint 2015-06-18 12:44:02 -07:00
prometheus.go api: add /metrics endpoint for prometheus 2015-06-29 23:15:15 +02:00
redirect.go Reorged imports from jbenet/go-ipfs to ipfs/go-ipfs 2015-03-31 12:52:25 -07:00
webui.go updated webui to 0.2.0 2015-06-01 00:37:02 -07:00