diff --git a/apps/vault/locales/i18n.json b/apps/vault/locales/i18n.json index 47dd2ad0e..205785e97 100644 --- a/apps/vault/locales/i18n.json +++ b/apps/vault/locales/i18n.json @@ -198,10 +198,10 @@ "en-tts": "Symbols" }, "vault.illegal_char": { - "en": "Entries may not contain a newline character.", - "ja": "エントリに改行文字を含めることはできません。", - "zh": "条目可能不包含换行符。", - "en-tts": "Entries may not contain a newline character." + "en": "Entries may not contain ':', or a newline character.", + "ja": "エントリに「:」または改行文字を含めることはできません。", + "zh": "条目不得包含 ':' 或换行符。", + "en-tts": "Entries may not contain ':', or a newline character." }, "vault.illegal_number": { "en": "Please enter a number from 1-128", diff --git a/apps/vault/src/actions.rs b/apps/vault/src/actions.rs index 27a802d6d..502e87f95 100644 --- a/apps/vault/src/actions.rs +++ b/apps/vault/src/actions.rs @@ -1293,7 +1293,7 @@ pub(crate) fn totp_ss_validator(input: TextEntryPayload) -> Option Option> { let proposed_name = input.as_str(); - if proposed_name.contains('\n') { // the '\n' is reserved as the delimiter to end the name field + if proposed_name.contains(['\n',':']) { // the '\n' is reserved as the delimiter to end the name field, and ':' is the path separator Some(xous_ipc::String::<256>::from_str(t!("vault.illegal_char", xous::LANG))) } else { None diff --git a/tools/backupci.py b/tools/backalyzer.py similarity index 100% rename from tools/backupci.py rename to tools/backalyzer.py