title: replace %25 in url with space using coldfusion using cfhttp
body: <p>I am making a cfhttp get call to another page. I am passing the url variable using cfhttpparam as shown below. But when I run the page, the url is rendered as shown in the image. I need to replace %25 to be able to get the correct url string. Can someone tell me what is wrong with the code?</p>
  
  <pre><code>&lt;cfset vpName = "Abc def  F hig K xyz" /&gt; I want %20 in the spaces in the name here. But it is rending as show in the image![enter image description here][1]
  &lt;cfset urlvar = URLEncodedFormat("#vpName#")&gt;
  
  &lt;!--- &lt;cfoutput&gt;#urlvar#&lt;/cfoutput&gt;
   ---&gt;
  
   &lt;cfhttp url="https://abc.com/xyz/EM2/LTMR.cfm" method="get" username="abcd" password="password" &gt;   
  
   &lt;cfhttpparam type="url" name="LTMX" value="#urlvar#"&gt;
  
  &lt;/cfhttp&gt; 
  
  
  &lt;cfset myDocument = cfhttp.fileContent&gt;
  
  &lt;cfoutput&gt;#myDocument#&lt;/cfoutput&gt; 
  </code></pre>
  
  <p>URL is rendered as </p>
  
  <p>abc.com/LTMR.cfm?LTMX=Andre%2520Fuetsch%2520%2520F%2520Shelly%2520K%2520Lazzaro</p>