From 3e703f526f72b081bf0f511b87cf048a7f010fdb Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Sat, 7 Oct 2023 14:05:11 -0400 Subject: [PATCH] Possibly fixed security vulnerability with messages being spoken with special characters. --- autospeak.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autospeak.pl b/autospeak.pl index 197c729..8e3ea55 100644 --- a/autospeak.pl +++ b/autospeak.pl @@ -46,7 +46,7 @@ sub speak_message { my $SpeechVoice = Irssi::settings_get_str("speech_voice"); my $SpeechModule = Irssi::settings_get_str("speech_module"); # Speak The Message - system("spd-say -P notification -y $SpeechVoice -r $SpeechRate -o $SpeechModule \"$summary $body\"&"); + system("spd-say -P notification -y $SpeechVoice -r $SpeechRate -o $SpeechModule -- \"$summary $body\"&"); } # Handle incoming public messages: