HTTP::uri decodes encoded chars by default, and I don't see an option to stop it
I am doing simple HTTP to HTTPS redirects, I can't use a policy and need to use an iRule to do this.
My problem is some of the URI's contain encoded chars - in particular an encoded /. When I then use HTTP:uri to pass the URI to the redirect (in fact if I evaluate HTTP::uri in any way) the encoded chars have been decoded :( and in the case of the %2F which is the most common one this breaks things.
I did consider encoding the particular section of the URI that this char appears in but it's not predictable :(:(
I did ask the developer if they could stop encoding and translate to another legal char but it seems the framework they are using (Angular2) may be doing it rather than our code.
Anyone know how to either stop the chars being decoded or another way around this ?
Thanks Jason