limit gz/br unpacker to embedded resources
This commit is contained in:
parent
a039fae1a4
commit
12d25d09b2
@ -797,6 +797,8 @@ class HttpCli(object):
|
|||||||
editions[ext or "plain"] = [fs_path, st.st_size]
|
editions[ext or "plain"] = [fs_path, st.st_size]
|
||||||
except:
|
except:
|
||||||
pass
|
pass
|
||||||
|
if not self.vpath.startswith(".cpr/"):
|
||||||
|
break
|
||||||
|
|
||||||
if not editions:
|
if not editions:
|
||||||
raise Pebkac(404)
|
raise Pebkac(404)
|
||||||
|
Loading…
Reference in New Issue
Block a user