limit gz/br unpacker to embedded resources

This commit is contained in:
ed 2021-02-03 00:19:14 +01:00
parent a039fae1a4
commit 12d25d09b2

View file

@ -797,6 +797,8 @@ class HttpCli(object):
editions[ext or "plain"] = [fs_path, st.st_size]
except:
pass
if not self.vpath.startswith(".cpr/"):
break
if not editions:
raise Pebkac(404)