MCPcopy
hub / github.com/di-sukharev/opencommit / requestBadPort

Function requestBadPort

out/cli.cjs:50489–50495  ·  view source on GitHub ↗
(request3)

Source from the content-addressed store, hash-verified

50487 if (location && !location.hash) {
50488 location.hash = requestFragment;
50489 }
50490 return location;
50491 }
50492 function requestCurrentURL(request3) {
50493 return request3.urlList[request3.urlList.length - 1];
50494 }
50495 function requestBadPort(request3) {
50496 const url2 = requestCurrentURL(request3);
50497 if (urlIsHttpHttpsScheme(url2) && badPortsSet.has(url2.port)) {
50498 return "blocked";

Callers 1

mainFetchFunction · 0.85

Calls 3

requestCurrentURLFunction · 0.85
urlIsHttpHttpsSchemeFunction · 0.85
hasMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…