Uploaded image for project: 'Fuse Tools'
  1. Fuse Tools
  2. FUSETOOLS-507

Endpoints URIs should be validated against the standard URI pattern

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Out of Date
    • Affects Version/s: 2.1.0
    • Fix Version/s: None
    • Component/s: Camel Editor
    • Labels:
      None
    • Environment:

      Fuse IDE 2.1.224 build

      Description

      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?

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                lhein Lars Heinemann
                Reporter:
                raul.kripalani Raul Kripalani
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: