Hi,
I have a plus (+) symbol in a parameter value that is being converted to a
space. When I encode this as %2B it still ends up as a space in the
parameter value.
In fact, both %20 and %2B end up giving me spaces in the parameter value.
The following shows the issue
DefaultCamelContext context = new DefaultCamelContext();
MockComponent comp = new MockComponent();
comp.setCamelContext(context);
EndpointConfiguration conf = comp.createConfiguration("test:
https://test.com?secretKey=A%2B-%20A");
System.out.println(conf.getParmeter("secretKey"));
conf.setParameter("secretKey","A+- A");
System.out.println(conf.getParmeter("secretKey"));
Output is:
A - A
A+- A
The first should be the same as the second.
Thanks
Steve Cameron