Skip to content
This repository has been archived by the owner on Jul 6, 2023. It is now read-only.

Commit

Permalink
Prevent code execution
Browse files Browse the repository at this point in the history
  • Loading branch information
slaninas committed Jul 2, 2022
1 parent 26ce102 commit 46eb1d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ fn send_tweet(tweet: &Tweet, secret: &String, relays: &Vec<String>) {
let output = std::process::Command::new("bash")
.arg("-c")
.arg(format!(
"/nostril/nostril --envelope --sec {} --content \"{}\"",
"/nostril/nostril --envelope --sec {} --content \'{}\'",
secret, formatted
))
.stdout(std::process::Stdio::piped())
Expand Down

0 comments on commit 46eb1d1

Please sign in to comment.