From c57e5e58e197fca322c2840efa435eabb62e4d9d Mon Sep 17 00:00:00 2001 From: ame Date: Thu, 11 Jul 2024 12:27:06 -0500 Subject: fixes to ub:33 hashes now safe --- tests/net.lua | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'tests/net.lua') diff --git a/tests/net.lua b/tests/net.lua index 88b551e..617d299 100644 --- a/tests/net.lua +++ b/tests/net.lua @@ -12,7 +12,6 @@ local wowa = 5 _G._llib = _G.llib --_G.ww = llib --llib.io.pprint(_G) -a = llib.crypto.md5 llib.net.listen( function(server) --llib = nil @@ -20,7 +19,7 @@ llib.net.listen( llib.io.pprint("online") _G.server = server server:all("/", function(res, req) - b = a("hello") + b = llib.crypto.md5("hello") --llib.io.pprint(a + '5') res:send(b) @@ -58,7 +57,7 @@ llib.net.listen( print(req._bytes .. "/" .. req["Content-Length"]) --print(a) end - --_G.llib.io.pprint(req.files) + llib.io.pprint(req) --_G.llib.io.pprint(req) --_G.llib.io.pprint("hi") --res:send("done") -- cgit v1.2.3