Effective October 27, 2012, online and email support for FuseSource products will move to Red Hat support channels. For more information, please see the JIRA Migration to Red Hat FAQ.
As of October 27th, please open all new issues in the Red Hat Customer Portal .
Issue Details (XML | Word | Printable)

Key: ECLIPSE-507
Type: Bug Bug
Status: Open Open
Priority: Major Major
Assignee: Unassigned
Reporter: Raúl Kripalani
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Fuse IDE

Endpoints URIs should be validated against the standard URI pattern

Created: 27/Jan/12 02:48 PM   Updated: 19/Sep/12 08:24 AM
Component/s: Camel Editor
Affects Version/s: 2.1.0
Fix Version/s: None

Environment: Fuse IDE 2.1.224 build


 Description  « Hide
Currently the endpoint node will only validate if some string has been specified in the URI field, but it won't verify if the URI is valid. Can we use the java.net.URI String constructor to parse the URI (http://docs.oracle.com/javase/6/docs/api/java/net/URI.html#URI(java.lang.String)) and throw a validation error if the construtor returns an Exception? Or are there discrepancy between Camel's URI format and RFC 2396? Maybe the hash (#) characters one can find when using beanRefs?

 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
Raúl Kripalani added a comment - 27/Jan/12 02:49 PM
Corrected the fix version vs. affected version mix-up.