diff --git a/cli.py b/cli.py index 98370b838..5f76675b3 100644 --- a/cli.py +++ b/cli.py @@ -1505,6 +1505,10 @@ def _detect_file_drop(user_input: str) -> "dict | None": or stripped.startswith('"~') or stripped.startswith("'/") or stripped.startswith("'~") + or stripped.startswith('"./') + or stripped.startswith('"../') + or stripped.startswith("'./") + or stripped.startswith("'../") or (len(stripped) >= 4 and stripped[0] in ("'", '"') and stripped[2] == ":" and stripped[3] in ("\\", "/") and stripped[1].isalpha()) ) if not starts_like_path: