diff options
| author | lukeflo | 2025-07-06 12:36:53 +0200 |
|---|---|---|
| committer | lukeflo | 2025-07-06 12:36:53 +0200 |
| commit | 785c832d6a797103cf872b5ea6562e8dc59f24be (patch) | |
| tree | 34d75afeb34f8224f268b516736bbbdba1a5e814 /src | |
| parent | e2b4e12cf1ce15a26172ac8f2166c5e02ca89351 (diff) | |
| download | bibiman-785c832d6a797103cf872b5ea6562e8dc59f24be.tar.gz bibiman-785c832d6a797103cf872b5ea6562e8dc59f24be.zip | |
add forbidden chars to README
Diffstat (limited to 'src')
| -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, |
