title: ColdFusion cfhttp strips out newline character from parameter
body: <p>Before calling the function below, the <code>text1</code> value was encoded ie:</p>
  
  <blockquote>
  <pre><code>http://example/exampleProxy.cfc?returnFormat=plain&amp;method=update&amp;id=443&amp;blah=something&amp;text1=bob+bob2%0Abob
  </code></pre>
  </blockquote>
  
  <p>But the request that is sent has stripped out the newline character ie</p>
  
  <pre><code>http://example/test/id=443&amp;blah=something&amp;text1=bob+bob2bob
  </code></pre>
  
  <p><strong>Function:</strong></p>
  
  <pre><code>&lt;cffunction name="update" access="remote" output="yes" returntype="string"&gt;
          &lt;cfargument name="id" required="yes" type="string" /&gt;
          &lt;cfargument name="blah" required="yes" type="string" /&gt;
          &lt;cfargument name="text1" required="yes" type="string" /&gt;   
  
          &lt;cfhttp url="#variables.cString#" method="PUT"      timeout="#variables.HTTP_TIMEOUT#"&gt;
              &lt;cfhttpparam name="id" type="url" value="#arguments.id#"&gt;
              &lt;cfhttpparam name="blah" type="url" value="#arguments.blah#"&gt;
              &lt;cfhttpparam name="text1" type="url" value="#arguments.text1#"&gt;
          &lt;/cfhttp&gt;
          ...
  </code></pre>