[core] Parsers: strict VDF, Steam, Epic, GOG, manual and Domi sources, WinPath, GameId, Launch URIs, merge

This commit is contained in:
2026-11-22 23:26:18 +01:00
parent e85f160f88
commit cf5ba34bed
32 changed files with 1275 additions and 100 deletions
+1 -1
View File
@@ -156,7 +156,7 @@ fn app_manifest_refuses_blank_or_control_title() {
#[test]
fn app_manifest_refuses_device_name_installdir() {
for bad in ["CON", "nul", "COM1", "lpt9.txt", "a/b", "a\\b", ".", "..", "x:", "dots.", ""] {
for bad in ["CON", "nul", "COM1", "lpt9.txt", "a/b", r"a\\b", ".", "..", "x:", "dots.", ""] {
let acf = format!("\"AppState\" {{ \"appid\" \"10\" \"name\" \"N\" \"installdir\" \"{bad}\" }}");
assert_eq!(steam::app_manifest(acf.as_bytes(), &lib()), Err(ParseError::BadPath("installdir")), "{bad:?}");
}