Possibly fixed security vulnerability with messages being spoken with special characters.
This commit is contained in:
parent
7f85b4f3f6
commit
3e703f526f
@ -46,7 +46,7 @@ sub speak_message {
|
|||||||
my $SpeechVoice = Irssi::settings_get_str("speech_voice");
|
my $SpeechVoice = Irssi::settings_get_str("speech_voice");
|
||||||
my $SpeechModule = Irssi::settings_get_str("speech_module");
|
my $SpeechModule = Irssi::settings_get_str("speech_module");
|
||||||
# Speak The Message
|
# 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:
|
# Handle incoming public messages:
|
||||||
|
Loading…
Reference in New Issue
Block a user