Author: davsclaus
Date: Sun May 11 09:33:59 2008
New Revision: 655334
URL: http://svn.apache.org/viewvc?rev=655334&view=rev
Log:
CAMEL-433: better validation when creating an endpoint from uri
Modified:
activemq/camel/trunk/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/UriConfigurationTest.java
Modified:
activemq/camel/trunk/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/UriConfigurationTest.java
URL:
http://svn.apache.org/viewvc/activemq/camel/trunk/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/UriConfigurationTest.java?rev=655334&r1=655333&r2=655334&view=diff
==============================================================================
---
activemq/camel/trunk/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/UriConfigurationTest.java
(original)
+++
activemq/camel/trunk/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/UriConfigurationTest.java
Sun May 11 09:33:59 2008
@@ -96,7 +96,7 @@
assertRemoteFileEndpointFile("ftp://hostname", "");
assertRemoteFileEndpointFile("ftp://hostname//", "/");
assertRemoteFileEndpointFile("ftp://hostname//foo/bar", "/foo/bar");
- assertRemoteFileEndpointFile("sftp://[EMAIL
PROTECTED]:123//foo/bar?password=secret&completegibberish", "/foo/bar");
+ assertRemoteFileEndpointFile("sftp://[EMAIL
PROTECTED]:123//foo/bar?password=secret", "/foo/bar");
}
private void assertRemoteFileEndpointFile(String endpointUri, String
expectedFile) {