JAL-4409 Make HttpUtils.equivalentJalviewUrlString 'non-destructive'
[jalview.git] / src / jalview / util / ArgParserUtils.java
index be0f428..fabbc76 100644 (file)
@@ -100,7 +100,8 @@ public class ArgParserUtils
             continue;
           }
           filenames.add(pos + 1, a.argString());
-          filenames.add(pos + 2, associatedFile);
+          filenames.add(pos + 2,
+                  HttpUtils.equivalentJalviewUrl(associatedFile));
         }
       }
       // add an --open arg to separate from other files