java.net.MalformedURLException: Stream handler unavailable due to: For input string: "password@localhost:8081"
Issue
Trying to resolve an OSGi bundle from a repository url that also sets HTTP credentials and where the username contains the '@' character, e.g.
http://user@domain.org:password@localhost:8081/artifactory/libs-release@id=artifactory
results in
java.net.MalformedURLException: Stream handler unavailable due to: For input string: "password@localhost:8081"
Environment
- Fuse ESB Enterprise 7.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.