龙腾猫跃 hace 6 meses
padre
commit
2b5fc810bd
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      Shared/Utils/PathUtils.cs

+ 1 - 1
Shared/Utils/PathUtils.cs

@@ -25,7 +25,7 @@ public static class PathUtils {
     /// </summary>
     public static string ToShortPath(string fullName, bool keepFileName = false) {
         if (string.IsNullOrEmpty(fullName)) return fullName;
-        if (!fullName.Contains(":")) return fullName;
+        if (!fullName.Contains(":") || fullName.Contains("://")) return fullName;
         fullName = PathUtils.ForCompare(fullName);
         if (fullName.Length <= 200) return fullName;
         // 保留文件名