mirror of
https://github.com/whyour/qinglong.git
synced 2026-12-01 09:45:36 +08:00
fix: block case-variant secret paths and task runner env overrides
This commit is contained in:
1 parent
b49b0b63e6
commit
a23c5195ec
5 files changed
+46
-2
No files matched your search
@@ -24,11 +24,14 @@ test('file access enforces directory boundaries, blacklist descendants and symli
|
||||
'../config-other/secret',
|
||||
'/etc/passwd',
|
||||
'grpc/client.key',
|
||||
'GRPC/client.key',
|
||||
'alias/client.key',
|
||||
'outside/new.txt',
|
||||
'dangling',
|
||||
'auth.json',
|
||||
'AUTH.JSON',
|
||||
'nested/auth.json',
|
||||
'nested/Auth.Json',
|
||||
'',
|
||||
]) {
|
||||
assert.equal(
|
||||
|
||||
Reference in new issue
Block a user