Github user geomacy commented on the issue:
https://github.com/apache/brooklyn-server/pull/551
+1 to the idea of exposing the builder, which makes it unambiguous as to
how to interpret each bit. I think if you do that then you can get away
without the external library and just use java.net.URI,
```The multi-argument constructors quote illegal characters as required by
the components in which they appear. The percent character ('%') is always
quoted by these constructors. Any other characters are preserved.```
I know I used it before to do character escaping, but don't remember the
details, perhaps my use case was simpler.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---