diff options
Diffstat (limited to 'src/app.rs')
| -rw-r--r-- | src/app.rs | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -435,11 +435,16 @@ impl App { .unwrap()] .citekey .clone(); + // disallow chars which can cause other shell executions if citekey.contains("/") | citekey.contains("|") | citekey.contains("#") | citekey.contains("\\") | citekey.contains("*") + | citekey.contains("\"") + | citekey.contains(";") + | citekey.contains("!") + | citekey.contains("\'") { self.bibiman.open_popup( PopupKind::MessageError, |
