test ql packs must be in the security directory

This commit is contained in:
thiggy1342
2022-05-28 23:19:32 +00:00
committed by GitHub
parent 52ac93b82e
commit 39baadbdd2
4 changed files with 1 additions and 1 deletions

View File

@@ -0,0 +1 @@
experimental/decompression-api/DecompressionAPI.ql

View File

@@ -0,0 +1,11 @@
class TestController < ActionController::Base
def unsafe_unzip
TestModel::unzip(params[:path])
end
end
class TestModel
def unzip(filename)
Zlib::Inflate.inflate(filename)
end
end