MCPcopy Index your code
hub / github.com/cipheras/cipherginx / blockPaths

Function blockPaths

cipherginx.py:133–137  ·  view source on GitHub ↗
(path)

Source from the content-addressed store, hash-verified

131 return eval(resp)
132
133def blockPaths(path):
134 if path.split('?')[0] in block_paths or path in block_paths:
135 print(YELLOW, 'Blocked path:', path, RESET)
136 return True
137 return False
138
139def parseCookie(cookie):
140 cl = []

Callers 2

do_GETMethod · 0.85
do_POSTMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected