From f0a50184135a1fce684f19208d7f6a252722427d Mon Sep 17 00:00:00 2001 From: Jonatan Nilsson Date: Wed, 7 Feb 2024 21:37:46 +0000 Subject: [PATCH] fix recording --- www/start_the_recording.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/www/start_the_recording.lua b/www/start_the_recording.lua index 7be289e..b0d8b1e 100644 --- a/www/start_the_recording.lua +++ b/www/start_the_recording.lua @@ -5,8 +5,8 @@ if not arg_output then return end -if not (arg_output:gsub("[A-Za-z0-9_.]","")=="") then - ngx.say("Invalid query 'output'") +if not (arg_output:gsub("[A-Za-z0-9_.-]","")=="") then + ngx.say("Invalid query 'output': '"..arg_output.."'") return end