diff --git a/FtpProxy.java b/FtpProxy.java index fcfd7f9..c2a2456 100644 --- a/FtpProxy.java +++ b/FtpProxy.java @@ -216,7 +216,7 @@ public void run() { int c = userString.lastIndexOf(':'); if (c < a) c = -1; - if (a == -1 && args.length > 1) { + if (a == -1 && config.isUrlSyntaxEnabled) { int c1 = userString.lastIndexOf('*'); if (c1 != -1) { c = c1;