mirror of
https://github.com/9001/copyparty.git
synced 2026-06-18 20:22:27 -06:00
Merge 1f4d4a2d0b into d33d11321f
This commit is contained in:
commit
872e4e9a2e
|
|
@ -1316,6 +1316,7 @@ class HttpCli(object):
|
|||
if (
|
||||
self.args.pw_hdr in ih
|
||||
or re.sub(r"(:[0-9]{1,5})?/?$", "", origin) in good_origins
|
||||
or f"{origin.split('://')[0]}://*" in good_origins
|
||||
):
|
||||
good_origin = True
|
||||
bad_hdrs = ("",)
|
||||
|
|
|
|||
Loading…
Reference in a new issue