I have been using ColdFusion 10 with JVM 1.6 to communicate with an AS400 API to fetch data for a client's web site. I send a URL query parameter that includes commas. This worked fine for years.
Recently, I updated to ColdFusion 11, with JVM 1.8. Now, the API calls fail, because the CFHTTP tag is URL-encoding the query parameter value. The APi no longer sees the commas, or understands that it needs to decode the parameter string.
Is there any way to force the CFHTTP tag to avoid encoding the query parameter? I have tried putting the query in the host string as well as separately in a CFHTTPParam tag.
Also, is this likely to have occurred because I upgraded to ColdFusion 11, or because I upgraded the JVM to 1.8?
The CF2016 updates need to be applied. I just ran into this issue myself and update 6 solves this. I recommend applying each update up to version 10.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With