mirror of
https://github.com/9001/copyparty.git
synced 2026-01-12 15:52:39 -07:00
discard rejected connection
This commit is contained in:
parent
e440578cae
commit
4b0064b209
|
|
@ -633,7 +633,7 @@ class HttpCli(object):
|
||||||
if relchk(self.vpath) and (self.vpath != "*" or self.mode != "OPTIONS"):
|
if relchk(self.vpath) and (self.vpath != "*" or self.mode != "OPTIONS"):
|
||||||
self.log("illegal relpath; req(%r) => %r" % (self.req, "/" + self.vpath))
|
self.log("illegal relpath; req(%r) => %r" % (self.req, "/" + self.vpath))
|
||||||
self.cbonk(self.conn.hsrv.gmal, self.req, "bad_vp", "invalid relpaths")
|
self.cbonk(self.conn.hsrv.gmal, self.req, "bad_vp", "invalid relpaths")
|
||||||
return self.tx_404() and self.keepalive
|
return self.tx_404() and False
|
||||||
|
|
||||||
zso = self.headers.get("authorization")
|
zso = self.headers.get("authorization")
|
||||||
bauth = ""
|
bauth = ""
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue