@cryptotaxi247 / kubo / commits / 869498499

Add another test case for invalid p2p http proxy path

License: MIT Signed-off-by: Ian Preston <ianopolous@protonmail.com>

Dr Ian Preston committed Nov 21, 2018 at 00:30 UTC 869498499213ee9795ef8ad86f0f49b3019a643f
1 file changed +1
core/corehttp/proxy_test.go
+1
@@ -40,6 +40,7 @@ func TestParseRequest(t *testing.T) {
40
41 var invalidtestCases = []string{
42 "http://localhost:5001/p2p/http/foobar",
43 + "http://localhost:5001/p2p/QmT8JtU54XSmC38xSb1XHFSMm775VuTeajg7LWWWTAwzxT/x/custom/foobar",
44 }
45
46 func TestParseRequestInvalidPath(t *testing.T) {