title: Cflocation bug / new feature in ColdFusion 9 - URL appending twice
body: <p>When a user logs in and is redirected to a secured page, the url is getting appended twice like a list. This in turn causes a 404.</p>
  
  <p>(example: <a href="http://uwf.edu/something.cfm,http://uwf.edu/something.cfm" rel="nofollow">http://uwf.edu/something.cfm,http://uwf.edu/something.cfm</a>)</p>
  
  <p>Currently, the site has a custom login tag which I am unable to edit as I do not have control over it. (It's just a custom cf tag that allows people to login at the university.) </p>
  
  <p>I have to do additional processing after this tag to verify that they are eligible to login on this particular site. Once they have been verified, they are re-directed to another page with cflocation.</p>
  
  <pre><code>    &lt;custom login tag&gt;
  
      &lt;cfinvoke component="#application.path#cfc/security" method = "constructSession" returnvariable = "status"&gt;
       .. params excluded..
      &lt;/cfinvoke&gt;
  
      &lt;cfif status eq 1&gt;
      &lt;cflocation url="#someurl_invalid#" addtoken="no" /&gt;
      &lt;cfelse&gt;
      &lt;cflocation url="#someurl#" addtoken="no" /&gt;
      &lt;/cfif&gt;
  </code></pre>
  
  <p>The custom login tag refreshed the current page already, but I obviously do not want that and thus had used the above method to re-direct. This worked in ColdFusion 8.</p>
  
  <p>I read this article: <a href="http://www.bennadel.com/blog/2050-Changes-In-CFLocation-OnRequestEnd-Behavior-In-ColdFusion-9-s-Application-cfc.htm" rel="nofollow">http://www.bennadel.com/blog/2050-Changes-In-CFLocation-OnRequestEnd-Behavior-In-ColdFusion-9-s-Application-cfc.htm</a></p>
  
  <p>The article gave me some insight as to what is going on...but I am unsure how to fix the issue. 
  Does anyone have any solutions?</p>