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>
| 名称 |
最后提交
|
最后更新 |
|---|---|---|
| .. | ||
| commands.go | 正在载入提交数据... | |
| corehttp.go | 正在载入提交数据... | |
| gateway.go | 正在载入提交数据... | |
| gateway_handler.go | 正在载入提交数据... | |
| gateway_indexPage.go | 正在载入提交数据... | |
| gateway_test.go | 正在载入提交数据... | |
| ipns_hostname.go | 正在载入提交数据... | |
| logs.go | 正在载入提交数据... | |
| prometheus.go | 正在载入提交数据... | |
| redirect.go | 正在载入提交数据... | |
| webui.go | 正在载入提交数据... |